- 4
- 0
- 约1.18千字
- 约 5页
- 2019-06-30 发布于浙江
- 举报
1
例1、翻译下面语句:
if ab then
while cd do
d := d+1
else
x := y-z
2
S
{S1..}
then
{S..}
else
E1
{E1…}
a
b
{E1…}
if
S1
S2
{S2..}
d:=d+1
x:=y-z
1
3
2
4
5
{S3..}
do
{S1..}
S3
E2
while
c
d
{E2…}
{E2…}
6
7
8
9
3
1、E1.true := L1
E1.false := L2
2、E1.code := { if ab goto L1
goto L2 }
3、S1.next := S.next
4、S1.begin := L3
E2.true := L4
E2.false := S.next
5、E2.code := { if cd goto L4
goto S.next }
4
6、S3.next := L3
7、S1.code := { L3 : (E2.code)
您可能关注的文档
- 老年肾病的防治和保健.ppt
- 七年级英语whattimedoyougotoschool课件6.ppt
- 七年级英语上册《Starter-Unit-1-Good-Morning!-Listening!》课件-(新版).ppt
- 七年级英语上册《Starter-Unit-1-Lesson-5-Good-afternoon!》课件-(新版).ppt
- 七年级英语上册-7A-Unit-3-Welcome-to-the-unit教学课件.ppt
- 七年级英语上册-7A-Unit-6-Food-and-Lifestyle-Task课件-牛津版.ppt
- 老师伴我成长.ppt
- 七年级语文大自然的语言.ppt
- 酪啡肽功效学研究进展.ppt
- 乐加麻醉科讲义.ppt
原创力文档

文档评论(0)