Section 9.2: Assembling and running CSC-1 programs (Frame 11)                     [prev][home][next]
You can change the three main registers: a, s and pc, although it is not recommended that you do this unless you really know what you are doing. Following are some examples of putting a new value into a, s and pc: >> a=873 >> a=-1 >> s=65536u >> pc=4095

The program counter cannot be given a negative number, and its maximum value
is 4095, since there are 4096 words in memory.