The following program is stored in the basic computer (locations in hex): 210 CLA; 211 ADD 217; 212 INC; 213 STA 217; 214 LDA 218; 215 CMA; 216 AND 217; 217 1234H; 218 9CE2H. What is the content of the accumulator after execution?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. 0215H
Explanation
AC = 0, + 1234 = 1234, INC → 1235, stored at 217. Load 9CE2, complement → 631D. AND with 1235: 631D & 1235 = 0215H.
More Computer System Architecture questions
- A non-pipeline system takes to process a task. The same task can be processed in six- segment pipeline with a clockcycle of 10ns. Determine…
- What is the radix of the numbers if the solutions of x² − 10x + 26 = 0 are x = 4 and x = 7?
- Which simplified expressions are correct for F(A, B, C, D) = Σ(0, 1, 2, 3, 6, 12, 13, 14, 15)? (A) A′B′ + AB + A′C′D′ (B) A′B′ + AB + A′CD′…
- Which of the following statements with respect to K-segment pipelining are true? (A) Maximum speedup that a pipeline can provide is k theor…
- Which of the following statements with respect to multiprocessor system are true? (A) Multiprocessor system is controlled by one operating…
- Match List I with List II. List I: A. Handshaking, B. Programmed I/O, C. Interrupt-initiated I/O, D. I/O processor. List II: I. I/O interfa…