Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose the memory cells at addresses 00 through 05 in the machine described in machine language given with this assignment (Appendix C) contain the following

image text in transcribedimage text in transcribed

Suppose the memory cells at addresses 00 through 05 in the machine described in machine language given with this assignment (Appendix C) contain the following bit patterns: 3. CPU Main Memory Address Contents 1 Program Bus 01 02 03 04 32 02 CO s Register OC Using the form below run the program, then briefly describe what this program did. CPU Main Memory 1 Program Register FD CPU Main Memory 1 Program 5 Register FD Op code Operand Description 1 RXY LOAD the register R with the bit pattern found in the memory cell 2 RXY LOAD the register R with the bit pattern XY 3 RXY STORE the bit pattern found in register R in the memory cell whose whose address is XY address is XY. MOVE the bit pattern found in register R to register S. ADD the bit patterns in registers S and T as though thev were two's 4 ORS 5 RST complement representations and leave the result in register R. 6 RST ADD the bit patterns in registers S and T as though they represented values in floating-point notation and leave the floating-point result in register R. OR the bit patterns in registers S and T and place the result in register R. 7 RST 8 RST AND the bit patterns in register S and T and place the result in register R. 9 RST EXCLUSIVE OR the bit patterns in registers S and T and place the result in register R. ROTATE the bit pattern in register R one bit to the right X times. Each time place the bft that started at the low-order end at the high-order end. A ROX B RXY JUMP to the instruction located in the memory cell at address XY if the it pattern in register R is equal to the bit pattern in register number Otherwise, continue with the normal sequence of execution. (The jump is implemented by copying XY into the program counter during the execute phase.) C 000 HALT execution

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions