Prev: 0066 Up: Map Next: 007D
0074: 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 0074 LD HL,($5C5D) Fetch the address from CH-ADD.
This entry point is used by the routines at READ_3 and S_DECIMAL.
TEMP_PTR1 0077 INC HL Increment the pointer.
This entry point is used by the routine at READ_3.
TEMP_PTR2 0078 LD ($5C5D),HL Set CH-ADD.
007B LD A,(HL) Fetch the addressed value and then return.
007C RET
Prev: 0066 Up: Map Next: 007D