You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

7 lines
157 B

; Stores a 16-bit register into the address stored in HL
; \1 The register to store
MACRO STORE16
ld [hl], HIGH(\1)
inc hl
ld [hl], LOW(\1)
ENDM