for循环语句的翻译 文法S forI EtoEdoSS forI EdowntoEdoS语句示例fori 1to100dos s ifori 100downto1dos s i for循环语句的四元式表示 i 1 10 if i 100 s s i i goto10 fori 1to100dos s i 1 1 i 2 i 100 T1 3 FJ T1 7 4 s i s 5 i 1 i 6 JMP 2 7 fori 100downto1dos s i for循环语句的四元式表示 i 100 10 if i 1 s s i i goto10 1 100 i 2 i 1 T1 3 FJ T1 7 4 s i s 5 i 1 i 6 JMP 2 7 for循环语句的三元式表示 fori 1to100dos s i i 1 10 ifi 100thenbegins s i i i 1 goto10 end 1 1 i 2 i 100 3 FJ 2 9 4 s i 5 4 s 6 i 1 7 6 i 8 JMP 2 9