Back to the 2016 paper

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

20162m

What is zero address instruction format?

Worked SolutionAI Assisted

Zero-address instruction format: Instruction contains only opcode, zero address fields. Operand sources are implicit stack top. Architecture is stack-organized. Example: ADD, SUB, PUSH X, POP. Execution: PUSH A (A→TOS), PUSH B, ADD → pop TOS-1+TOS → push result. Advantage: short instruction, good for expression compilation; disadvantage: many stack operations, not flexible for random access.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.