This document describes a 16-bit hypothetical machine with 4-bit instructions to load and store values from memory and I/O devices into an accumulator (AC) register. It provides a program to multiply the value in device 5 by device 6, store the result in memory location 944, and asks to show the program execution steps in a table with memory, CPU, and register contents.
This document describes a 16-bit hypothetical machine with 4-bit instructions to load and store values from memory and I/O devices into an accumulator (AC) register. It provides a program to multiply the value in device 5 by device 6, store the result in memory location 944, and asks to show the program execution steps in a table with memory, CPU, and register contents.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
This document describes a 16-bit hypothetical machine with 4-bit instructions to load and store values from memory and I/O devices into an accumulator (AC) register. It provides a program to multiply the value in device 5 by device 6, store the result in memory location 944, and asks to show the program execution steps in a table with memory, CPU, and register contents.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
(16 points) A 16 bit hypothetical machine has the following 4 bit instructions:
1= 0001= Load AC from Memory
2= 0010= Store AC to Memory 5= 0101= Add to AC from memory ; (AC) (MEM) + (AC) 4= 0100= multiply AC by Memory content ; (AC) (MEM) * (AC) 3= 0011= Load AC from I/O 7= 0111= Store AC to I/O AC- Accumulator PC- Program Counter IR- Instruction Register The 12-bit address identifies a particular Memory location or I/O device. Show the program execution for the following program.
1. Multiply the content of the device no. 6 by the device No. 5
2. store the result in mem location 944 Simply write your codes