GATE Computer ScienceHardGATE CS (PYQ pattern)
An 8-bit CPU multiplies the two's-complement bytes 0xF6 and 0x0D as signed numbers into a 16-bit product. What is the product, and is the low byte alone the correct signed 8-bit result?
- A. 0x0C7E; no, the low byte reads +126
- B. 0xFF7E; no, the low byte reads +126
- C. 0xFF7E; yes, the product fits in 8 bits
- D. 0xFF82; no, the low byte reads −126
Correct answer: B. 0xFF7E; no, the low byte reads +126
0xF6 = −10, 0x0D = 13, product −130 = 0xFF7E in 16 bits. −130 is outside −128..127, so the low byte 0x7E (+126) is wrong. Unsigned multiplication gives 246 × 13 = 3198 = 0x0C7E; 0xFF82 is −126.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A branch behaves T, T, N, N repeatedly for 32 executions. A 2-bit saturating counter starts at state 0 and predicts taken in states 2 and…
- A 32-bit machine uses a 2-level page table with 4 KB pages and 4-byte entries (10 + 10 + 12 bit split). A process uses exactly 4 MB + 8 KB…
- Which of the following statements about performance are correct? I. A lower CPI always means a faster machine. II. Execution time =…
- A DMA controller in burst mode moves 4-byte words at one word per 40 ns bus cycle from a device producing 10 MB/s (1 MB = 10⁶ B). The CPU…
- A 256 KB, 8-way set-associative write-back cache has 64-byte blocks and 36-bit physical addresses. Each line stores its data, tag, a valid…
- A system has 44-bit virtual addresses, 4 KB pages and 8-byte page-table entries. Every level of its multi-level page table except the top…