GATE Computer ScienceVery hardGATE CSE · UGC NET
A 16-bit instruction format uses 4-bit address fields and the expanding-opcode technique. There are 13 three-address instructions, 40 two-address instructions and 100 one-address instructions. What is the maximum number of zero-address instructions that can still be encoded?
- A. 464
- B. 432
- C. 448
- D. 208
Correct answer: C. 448
Free 4-bit prefixes: 16−13 = 3 → 3·16 = 48 two-address slots, 8 left after 40 → 8·16 = 128 one-address slots, 28 left after 100 → 28·16 = 448.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Two 8-bit two's-complement numbers a and b are added with an 8-bit adder. For how many ordered pairs (a, b), where a and b each range over…
- How many distinct 32-bit patterns represent a NaN (quiet or signalling, either sign) in IEEE 754 single precision?
- Memory has 8 low-order interleaved banks; a bank is busy for 6 clock cycles after starting an access, and at most one new access can be…
- A 64-bit virtual address space uses 8 KB pages and 8-byte page-table entries, and every page-table level occupies exactly one page. What…
- A TLB access takes 5 ns, a main-memory access 80 ns, and the TLB hit ratio is 95%. On a TLB miss, a two-level page table walk needs two…
- A disk transfers data at 12 MB/s into memory using DMA in 4-byte words. Each word transfer steals 3 bus cycles of 20 ns from the CPU…