Portfolio Prompt Six - Computer Architecture and Machine Language
1. Translate the following instructions from English into the machine language given with this assignment (Appendix C).
a. LOAD register 6 with the hexadecimal value 77.
b. LOAD register 7 with the contents of memory cell 77.
c. JUMP to the instruction at memory location 24 if the contents of register 0 equals
the value in register A.
d. ROTATE register 4 three bits to the right.
e. AND the contents of registers E and 2 leaving the result in register 1.
a.
b.
c.
d.
e.
2. The following are instructions written in the machine language given with this assignment (Appendix C). Translate them into English.
a. 7123
b. 40E1
c. A304
d. B100
e. 2BCD
a.
b.
c.
d.
Section of main memory
e.
3. 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:
Address Contents
00 22
01 11
02 32
03 02
04 C0
05 00
Using the form below run the program.
CPU State
Section of main memory
General Registers
Section of main memory
Section of main memory
Address
Contents