1 / 5

Preklad podmieneného príkazu

Preklad podmieneného príkazu. Gramatika PGB2 (miesto - adresa). Atribúty. da, sa adr. Funkcie. f(x, y, z) - hodnotou je x - do všetkých inštrukcií na adresách uvedených v zozname y doplní adresa z g(x, y) - hodnotou je y

sera
Download Presentation

Preklad podmieneného príkazu

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Preklad podmieneného príkazu Gramatika PGB2 (miesto - adresa)

  2. Atribúty • da, sa • adr

  3. Funkcie f(x, y, z) - hodnotou je x - do všetkých inštrukcií na adresách uvedených v zozname y doplní adresa z g(x, y) - hodnotou je y - na adresu x cieľového programu sa doplní adresa y

  4. Atrib. Preklad. Gramatika Syntaktické pravidlá Sémantické pravidlá S  if B then S TLJU else S B. da := S0. da S4. da := f(B.sa, B.true, B.sa) S8. da := f(S4.sa+2, B.false, S4.sa+2) TL.L := 0 S0 . sa := g(S4.sa, S8.sa)

More Related