Computer Architecture / Chapter 4: Control Flow Instructions 2 / Branch-on-equal
BEQ Instruction Quiz
Instructions
Memory Cells |
---|
Program Counter | Time |
---|---|
0 | 0 |
LW Computer Simulator
Quiz (1 point)
In the LW Computer Simulator above, what is the value of the PC at time = 1?
Quiz (1 point)
Please write a BEQ instruction that compares cell #1 to cell #3. If the cell values are equal, the PC should be increased by 4.
Comments
Please log in to add comments