編譯原理學習筆記(十三)

課堂題目 1.把下列語句翻譯成三地址代碼 while a > 10 do if b = 100 then while a < 20 do a := a + b – 1 2.把下列語句翻譯成三地址代碼 if a>10 and c>d then if b=100 then a := a / b else a := a * b 題目答案 題目一: (1) if a>10 goto (3) (2) got
相關文章
相關標籤/搜索