GATE Computer ScienceVery hardGATE CSE · UGC NET
A 16-bit instruction has 5-bit address fields and expanding opcodes. There are 40 two-address instructions and 600 one-address instructions. What is the maximum number of zero-address instructions?
- A. 4352
- B. 4864
- C. 5376
- D. 6400
Correct answer: C. 5376
The 6 free opcode bits give 64 two-address slots, so 24 prefixes remain, giving 24 × 32 = 768 one-address slots; after 600 are used, 168 remain, each expanding into 32 zero-address codes: 168 × 32 = 5376.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- 80% of a program's execution time benefits from an enhancement that makes that portion 8 times faster; the rest is unchanged. The overall…
- A 4-way set-associative cache of 32 KB with 64-byte lines serves 32-bit physical addresses. Each line stores its data, a tag, one valid…
- The 32-bit word 0xC2ED0000 is interpreted as an IEEE 754 single-precision number. Its value is
- Booth's algorithm multiplies by the 8-bit two's-complement multiplier 01110110. Counting only the additions and subtractions of the…
- A 5-stage pipeline (IF, ID, EX, MEM, WB) has no forwarding; the register file is written in the first half of a cycle and read in the…
- A two-level cache: L1 hit time 1 ns with 5% miss rate; L2 hit time 10 ns with a LOCAL miss rate of 20%; main memory access 100 ns. The…