Computer Architecture / Chapter 2: Operations on Numbers / Add-immediate Instruction
Memory Cell #0
Memory cell #0 has a special property. It is always set to 0. More precisely:
value of cell 0 at time t = 0
The value of memory cell #0 is always 0 because certain programs need the number 0. For example, suppose that we want to set memory cell #2 to 5. We can do this by adding memory cell #0 and constant 5:Instructions
Memory Cells |
---|
Program Counter | Time |
---|---|
0 | 0 |
LW Computer Simulator
Here are some claims we can make with this property:
- value of cell 0 at time 0 = 0
- value of cell 0 at time 5 = 0
- value of cell 0 at time 180 = 0
Quiz (1 point)
In the LW Computer Simulator above, what is the value of memory cell #0 at time = 1?
Comments
Please log in to add comments