Question: Treat the register names R 1 , . . . , R 7 as well as the memory cell names PC , N , Z

Treat the register names R1,..., R7 as well as the memory cell names PC, N, Z and P as variables which each hold a 16-bit number.
Treat M[a] as the memory array of 16-bit integers with the index a in the range: x0000,dots,xFFFF.
Assume that the program counter, PC, contains the address of the current instruction and that N=0,Z=0,P=1.
After each of the following instructions give the Java-like assignment statement which performs what that specific instruction does in terms of the bits in the instruction itself and only using the names given above. If an instruction does nothing, write nothing
Specify all offests with hexadecimal values. Extra spaces or no spaces between arithmetic operators will not invalidate an answer. Check: each opening bracket [ should have a closing bracket ].
The instruction: 0011000000000100
Extra spaces or no spaces between arithmetic operators will not invalidate an answer.
2. The instruction: 0000011000000011
3. The instruction: 0111000001000010
Extra spaces or no spaces between arithmetic operators will not invalidate an answer.
A. The instruction: 1011111000010010
Extra spaces or no spaces between arishmetic operators will not jinvalidate an answer
 Treat the register names R1,..., R7 as well as the memory

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!