Example: Suppose main memory and the CPU registers contain the following data:
RAM Address | Content |
---|---|
$100$ | $200$ |
$200$ | $400$ |
$300$ | $100$ |
$400$ | $300$ |
$500$ | $1000$ |
$600$ | $700$ |
CPU Registers | Content |
---|---|
$100$ | $500$ |
IND | $500$ |
BASE | $300$ |
and that the stack contains the number $600$ on its top.
On the next slide, we'll explain what number the instruction LOD 100 will load into the accumulator AC.