Show specific messages for some more invalid instructions, not just "syntax error" (#1679)

This commit is contained in:
Rangi
2025-05-03 12:31:00 -04:00
committed by GitHub
parent 081f48404c
commit 2e6e1ccf06
7 changed files with 114 additions and 43 deletions

View File

@@ -6,3 +6,16 @@ SECTION "invalid", ROM0[$10000]
ld b, [$4000]
bit 8, a
rst $40
ld bc, bc
ld de, hl
ld hl, de
ld hl, sp ; no offset!
; ld sp, hl is valid
ld sp, bc
ld bc, sp
ld af, bc
ld bc, af