| Routines

00116: THE 'CH-ADD+1' SUBROUTINE

Used by the routines at NEXT_CHAR, S_QUOTE_S and INT_TO_FP. The address held in CH-ADD is fetched, incremented and restored. The contents of the location now addressed by CH-ADD are fetched. The entry points of TEMP_PTR1 and TEMP_PTR2 are used to set CH-ADD for a temporary period.
Output
A | Code of the character at CH-ADD+1
CH_ADD_1 | 00116 | LD HL,(23645) | Fetch the address from CH-ADD.
This entry point is used by the routines at READ_3 and S_DECIMAL.
TEMP_PTR1 | 00119 | INC HL | Increment the pointer.
This entry point is used by the routine at READ_3.
TEMP_PTR2 | 00120 | LD (23645),HL | Set CH-ADD.
| 00123 | LD A,(HL) | Fetch the addressed value and then return.
| 00124 | RET