Prev: 10956 Up: Map Next: 10996
10990: THE 'DE,(DE+1)' SUBROUTINE
Used by the routine at STK_VAR.
This subroutine performs the construction 'LD DE,(DE+1)' and returns HL pointing to 'DE+2'.
Input
DE Target address minus one
Output
DE Word at the target address
HL Target address plus one
DE_DE_1 10990 EX DE,HL Use HL for the construction.
10991 INC HL Point to 'DE+1'.
10992 LD E,(HL) In effect - LD E,(DE+1).
10993 INC HL Point to 'DE+2'.
10994 LD D,(HL) In effect - LD D,(DE+2).
10995 RET Finished.
Prev: 10956 Up: Map Next: 10996