Question: A student is debugging his program. His program does not have access to memory locations x 0 0 0 0 to x 2 FFF .

A student is debugging his program. His program does not have access to
memory locations x0000 to x2FFF. Why that is the case we will discuss
before the end of the book. The term is privileged memory but not
something for you to worry about today.
Exercises 227
He sets a breakpoint at x3050, and then starts executing the program.
When the program stops, he examines the contents of several memory
locations and registers, then hits single step. The simulator executes
one instruction and then stops. He again examines the contents of the
memory locations and registers. They are as follows:
Before After
PC x3050 x3051
R0 x2F5F xFFFF
R1 x4200 x4200
R2 x0123 x0123
R3 x2323 x2323
R4 x0010 x0010
R5 x0000 x0000
R6 x1000 x1000
R7 x0522 x0522
M[x3050] x6??? x6???
M[x4200] x5555 x5555
M[x4201] xFFFF xFFFF

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 Programming Questions!