Prev: 13225 Up: Map Next: 13248
13236: THE 'STACK NUMBER' SUBROUTINE
Used by the routines at BEEP, S_DECIMAL and S_LETTER.
This subroutine is called by BEEP, S_U_PLUS and S_LETTER to copy STKEND to DE, move a floating-point number to the calculator stack, and reset STKEND from DE. It calls duplicate to do the actual move.
Input
HL Address of the first byte of the number to stack
STACK_NUM 13236 LD DE,(23653) Copy STKEND to DE as destination address.
13240 CALL duplicate Move the number.
13243 LD (23653),DE Reset STKEND from DE.
13247 RET Finished.
Prev: 13225 Up: Map Next: 13248