Home /
Expert Answers /
Computer Science /
a-hypothetical-computer-has-the-following-characteristics-the-processor-contains-a-sing-le-general-pa927
(Solved): A hypothetical computer has the following characteristics. The processor contains a sing-le general ...
A hypothetical computer has the following characteristics. The processor contains a sing-le general-purpose register, called an accumulator (AC), a Program Counter (PC), a Memory Address Register (MAR), and a Memory Buffer Register (MBR). Both instructions and data are 16 bits long. Hence, memory words are 16 bits long. The instruction format provides 4 bits for the opcode and 12 bits for the memory address. The left table below contains a partial list of the opcodes and their corresponding operations. Assume the memory contains the contents shown in the right table below, where values are in hexadecimal. 1. What is the maximum memory address space this processor can access? 2. In the following table, fill in the contents of every register and memory location after the fetch cycle and after the execute cycle of every instruction. Values are in hexadecimal. 3. Assume an interrupt occurs during the execution of the instruction at location ABF. Describe the sequence of events that would take place to handle this interrupt. 4. How many memory accesses (references) are needed to run the given 5-instruction program?