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

3 years ago
  1. ; Stores a 16-bit register into the address stored in HL
  2. ; \1 The register to store
  3. MACRO STORE16
  4. ld [hl], HIGH(\1)
  5. inc hl
  6. ld [hl], LOW(\1)
  7. ENDM