PALM registers used in BASIC: R11 System/3 Program Status Register R12 operand 1 R13 operand 2 R14 Q-Byte Zero page variables used in BASIC: 102 0100 start of local zero page in RWS 106 0800 RWS address of instruction vector table 104 019A instruction fetch routine 124 019C 162 00A0 154 0A00 156 0118 122 01B2 get operands O1 and O2 136 0272 set program status byte to "equal" 138 0276 set program status byte to "bin.ofl. / equal" 13A 027A set program status byte to "high" 13C 027E set program status byte to "bin.ofl. / high" 13E 0282 set program status byte to "low" 164 3922 166 39DE 174 3A9A 128 01A0 12A 01A1 1C0 01B0 1C2 01B1 152 0D2C 172 0D48 190 0E04 182 0108 (points to RWS) 184 0158 (points to RWS) 1CE 0138 112 saved Program Status Byte 114 saved IP 116 0CC4 126 Lo(R14L0) 132 R12L0 134 R13L0 142 R3L0 180 old NX ROS address (e.g. with test) 186 Lo(R9L0) 110 XR1 Index Register 1 120 XR2 Index Register 2 130 140 150 160 170 180 192 Address IOCB 194 saved R3 19A saved R15 19C saved R2 1A0-1A7 1B0-1B7 RWS --- 0800-09FF copy of 0000-01FF BASIC ROS