# file opened: invalid.asm
invalid.asm(1): error: Illegal instruction:     add     ix,iy
 1    0000                  add     ix,iy
invalid.asm(2): error: Illegal instruction:     add     ix,hl
 2    0000                  add     ix,hl
invalid.asm(3): error: Illegal instruction:     add     iy,hl
 3    0000                  add     iy,hl
invalid.asm(4): error: Illegal instruction:     add     iy,ix
 4    0000                  add     iy,ix
invalid.asm(5): error: Illegal instruction:     add     de,a
 5    0000                  add     de,a
invalid.asm(6): error: Illegal instruction:     add     hl,a
 6    0000                  add     hl,a
invalid.asm(7): error: Illegal instruction:     add     a,hl
 7    0000                  add     a,hl
invalid.asm(8): error: Illegal instruction:     add     a,de
 8    0000                  add     a,de
invalid.asm(9): error: Illegal instruction:     ld      iyl,(ix+0)
 9    0000                  ld      iyl,(ix+0)
invalid.asm(10): error: Illegal instruction:     ld      iyl,(iy+0)
10    0000                  ld      iyl,(iy+0)
invalid.asm(11): error: Illegal instruction:     ld      iyl,(hl)
11    0000                  ld      iyl,(hl)
invalid.asm(12): error: Illegal instruction:     ld      iyl,l
12    0000                  ld      iyl,l
invalid.asm(13): error: Illegal instruction:     ld      iyl,h
13    0000                  ld      iyl,h
invalid.asm(14): error: Illegal instruction:     ld      (ix+0),iyl
14    0000                  ld      (ix+0),iyl
invalid.asm(15): error: Illegal instruction:     ld      (iy+0),iyl
15    0000                  ld      (iy+0),iyl
invalid.asm(16): error: Illegal instruction:     ld      (hl),iyl
16    0000                  ld      (hl),iyl
invalid.asm(17): error: Illegal instruction:     ld      l,iyl
17    0000                  ld      l,iyl
invalid.asm(18): error: Illegal instruction:     ld      h,iyl
18    0000                  ld      h,iyl
invalid.asm(19): error: Label not found: e
invalid.asm(19): error: ')' expected
invalid.asm(19): error: Unexpected: 5
19    0000 EE 00            xor     (e 5            ; did work as `xor 5` up to 1.10.4
invalid.asm(20): error: Label not found: ixl
20    0002 EE 00            xor     (ixl+0)
invalid.asm(21): error: Illegal instruction:     ex      ix,hl
21    0004                  ex      ix,hl
invalid.asm(22): error: Illegal instruction:     ex      de,ix
22    0004                  ex      de,ix
invalid.asm(23): error: Illegal instruction:     ex      iy,hl
23    0004                  ex      iy,hl
invalid.asm(24): error: Illegal instruction:     ex      de,iy
24    0004                  ex      de,iy
invalid.asm(25): error: Illegal instruction:     ex      bc,hl
25    0004                  ex      bc,hl
invalid.asm(26): error: Illegal instruction:     ex      hl,hl
26    0004                  ex      hl,hl
invalid.asm(27): error: Illegal instruction:     sbc     ix,bc
27    0004                  sbc     ix,bc
invalid.asm(28): error: Illegal instruction:     sbc     ix,de
28    0004                  sbc     ix,de
invalid.asm(29): error: Illegal instruction:     sbc     ix,ix
29    0004                  sbc     ix,ix
invalid.asm(30): error: Illegal instruction:     sbc     ix,sp
30    0004                  sbc     ix,sp
invalid.asm(31): error: Illegal instruction:     ld      (hl),(hl)
31    0004                  ld      (hl),(hl)
invalid.asm(32): error: Illegal instruction:     ex      de,de
32    0004                  ex      de,de
invalid.asm(33): error: [RST] Illegal operand:     rst     1
33    0004                  rst     1
invalid.asm(34): error: [RST] Illegal operand:     rst     2
34    0004                  rst     2
invalid.asm(35): error: [RST] Illegal operand:     rst     4
35    0004                  rst     4
invalid.asm(36): error: [RST] Illegal operand:     rst     $40
36    0004                  rst     $40
invalid.asm(37): error: [RST] Illegal operand:     rst     $80
37    0004                  rst     $80
invalid.asm(38): error: Illegal destination register:     rlc     (ix+7),i
38    0004 DD CB 07 06      rlc     (ix+7),i
invalid.asm(39): error: Illegal destination register:     rrc     (ix-7),r
39    0008 DD CB F9 0E      rrc     (ix-7),r
invalid.asm(40): error: Unrecognized instruction: nextreg $44,a
40    000C                  nextreg $44,a
invalid.asm(41): error: Unrecognized instruction: mirror  a
41    000C                  mirror  a
invalid.asm(42): error: [ASSERT] Assertion failed:  0=43
42    000C                  ASSERT 0=43        ; this assert should fail
43    000C
44    000C                  ASSERT 44=44       ; update this assert when editing the file, to make it pass
45    000C
46    000C              ;;; few labels/macros errors exercises
47    000C
48    000C              a123456789a123456789a123456789a123456789a123456789a123456789:
invalid.asm(49): error: Label too long: B123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789
49    000C              B123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789:
50    000C
51    000C                  MACRO dupName
52    000C ~                    ld      a,0
53    000C                  ENDM
54    000C
invalid.asm(55): error: Duplicate macroname: dupName
55    000C                  MACRO dupName
56    000C 3E 00                ld      a,0
invalid.asm(57): error: [ENDM] End macro without macro
57    000E                  ENDM
58    000E
invalid.asm(59): warning: [UNDEFINE] Identifier not found: nononooo
59    000E                  undefine nononooo
60    000E
# file closed: invalid.asm

Value    Label
------ - -----------------------------------------------------------
0x000C X a123456789a123456789a123456789a123456789a123456789a123456789
0x000C X B123456789a123456789a123456789a123456789a123456789a123456789a123
