PCwidth

The program counter width (PCwidth) has a minor role in the assembly. It defines the width of the first column in the <file>.lst. Additionally it lets the simulator know when the program counter overruns (gore back to zero).

Example 7.1. PCwidth 16bit

        0000 60 ORC    RR       Set RR to 1
0001 A0 IEN    RR       Enable inputs
0002 B0 OEN    RR       Enable outputs

The PCwidth can be set with the -p (--pcwidth) option or putting

OPT PCWIDTH 8

to the assembly file.

Important

PCwidth is a decimal value



Linurs Servernest startpage