You have designed an 8bit computer that has two different me
You have designed an 8-bit computer that has two different memory sections: one for code and another one for data. At clock cycle, a 16-bit counter generates the address for the next instruction to be executed, and each address in the data memory maps to an address of the code memory. Using the instruction codes below, show the contents of both data and code memory for a program that adds the following number: 76ABh and 232Ch and then halts operation. (Make sure that you label the parts of the results in the empty boxes as high-order or low-order bytes.) Write your answer in the paper attached to your answer sheet.
Solution
code: data
load (10h) ab h
load (10h) 2c h
store (11h) d7 h (lower order byte)
load (10h) 76 h
load (10h) 23 h
store (11h) 99 h (higher order byte)
halt (FFh)
