Question: 4. Suppose we have machine language corresponding to assembly instruction in the program memory as follows: and data memory, i.e., file registers, as follows: Additionally,

 4. Suppose we have machine language corresponding to assembly instruction in

4. Suppose we have machine language corresponding to assembly instruction in the program memory as follows: and data memory, i.e., file registers, as follows: Additionally, for directive, we have 4.1. (5 pts) The Program Counter (PC) currently has 0x000010. Namely, the instruction to be run is "MOVLW 2". How is the address in PC changed until the "MOVWF Result" is run? List all the values that PC has had from 0x000010 to 0x00001A. Your answer should not be just one value (or address), but a sequence of numbers (or addresses). 4.2. (5 pts) After running this code, how does the data memory, i.e., file register, values are changed? Provide your answer in hexadecimal by filling in all the cells in the following figure. Note that each cell in the table (or figure) represents 1 byte

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!