Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started