[問題] 請問complier 和組語的問題
因為有認識的人期末考要交compiler 的作業
題目是
Ada/cs的compiler要產生出組語或者machine code
以下是要求:
Integer, Real, Boolean types (5 points)
Basic expressions involving Integer, Real and Boolean types(+, -, *, /, not, and, or, abs, mod, **, <, <=, >, >=, =, /=) (30 points)
Input/Output
Input of Integer, Real, Boolean scalars (5 points)
Output of String literals and Integer, Real and Boolean expressions (excluding formatting) (5 points)
Block structure (including declaration of local variables and constants) (20 points)
Assignment statement (10 points)
if, loop, and exit statements (10, 5, 10 points respectively)
請教各位高手,能否給些觀念或幫忙,可以回文說明一下
最好是丟我水球,謝謝啦! 感激不盡!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.230.10.88
ASM 近期熱門文章
PTT數位生活區 即時熱門文章