The following program is stored in the basic computer: 010 CLA; 011 ADD 016; 012 BUN 014; 013 HLT; 014 AND 017; 015 BUN 013; 016 C1A5; 017 93C6. Give the accumulator contents (hex) after execution.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. 8184
Explanation
AC = 0, then + C1A5 = C1A5. Jump to 014: AND with 93C6 gives C1A5 & 93C6 = 8184. Jump to 013 and halt.
More Computer System Architecture questions
- The Reduced Instruction Set Computer (RISC) characteristics are : (a) Single cycle instruction execution (b) Variable length instruction fo…
- Which of the following binary codes for decimal digits are self complementing? (a) 8421 code (b) 2421 code (c) excess-3 code (d) excess-3 g…
- An instruction at location 500 has its address field at 501, holding the value 400. Register R1 contains 200. Match each addressing mode wi…
- Match List I with List II. List I: (a) Isolated I/O, (b) Memory-mapped I/O, (c) I/O interface, (d) Asynchronous data transfer. List II: (i)…
- Match List I with List II. List I: (a) Micro-operation, (b) Microprogrammed control unit, (c) Interrupts, (d) Microinstruction. List II: (i…
- Which type of addressing mode, less number of memory references are required?