Prev: 367A Up: Map Next: 368F
3686: THE 'JUMP' SUBROUTINE (offset +33)
Used by the routine at jump_true.
The address of this routine is found in the table of addresses. It is called via the calculator literal +33 by the routines at e_to_fp, cos and atn.
This subroutine executes an unconditional jump when called by the literal '+33'.
HL' Address of the jump offset
HL' Address of the next calculator literal to execute
jump 3686 EXX Go to the next alternate register set.
This entry point is used by the routine at dec_jr_nz.
JUMP_2 3687 LD E,(HL) The next literal (jump length) is put in the E' register.
3688 LD A,E The number +00 or +FF is formed in A according as E' is positive or negative, and is then copied to D'.
3689 RLA
368A SBC A,A
368B LD D,A
368C ADD HL,DE HL' now holds the next literal pointer.
368D EXX
368E RET Finished.
Prev: 367A Up: Map Next: 368F