Back to the 2017 paper

Module 2: x86 Architecture, CPU Control, I/O, Memory System Design

20172m

Justify the statement “Stack computer consists of an operation code only with no address field”.

Worked SolutionAI Assisted

Justification: Stack computer is zero-address machine; operands implicitly on top of stack (TOS). Instruction needs only opcode because addresses of operands are implied: e.g., ADD pops two top elements, adds, pushes result. No fields to specify registers/memory. Useful for expression evaluation (postfix). Trade-off: needs stack manipulation instructions.

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.