Programmeerimiskeel
shifted off the end of the number is stored in the FLAG register.
... Registrid ...
The ADDR register specifies a location in main memory. The CPU often needs to read values
from memory or write values to memory. Only one location in memory is accessible at any given
time. The ADDR register specifies that location. So, for example, if the CPU needs to read the
value in location 375, it must first store 375 into the ADDR register. (If you turn on the
"Autoscroll" checkbox beneath the memory display, then the memory will automatically be
scrolled to the location indicated by the ADDR register every time the value in that register
changes.)
The PC register is the program counter. The CPU executes a program by fetching instructions
one-by-one from memory and executing them. (This is called the fetch-and-execute cycle.) The
PC specifies the location in memory that holds the next instruction to be executed.
The IR is the instruction register