Login

Subversion Repositories NedoOS

Rev

Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# file opened: op_ED.asm
 1    0000                  ; almost all of these should fail on LR35902
 2    0000                  ; (some will emit damaged machine code of legit LR35902 instruction, like LD A,R)
 3    0000                  ; `RETI` has valid opcode 0xD9 on LR35902, `LD (nn),sp` has valid opcode 0x08
 4    0000
op_ED.asm(5): error: Unrecognized instruction: in      b,(c)
 5    0000                  in      b,(c)       ; #ED40
op_ED.asm(6): error: Unrecognized instruction: out     (c),b
 6    0000                  out     (c),b       ; #ED41
op_ED.asm(7): error: Illegal instruction:     sbc     hl,bc       ; #ED42
 7    0000                  sbc     hl,bc       ; #ED42
op_ED.asm(8): error: Illegal instruction:     ld      (#100),bc   ; #ED430001
 8    0000                  ld      (#100),bc   ; #ED430001
op_ED.asm(9): error: Unrecognized instruction: neg
 9    0000                  neg                 ; #ED44
op_ED.asm(10): error: Unrecognized instruction: retn
10    0000                  retn                ; #ED45
op_ED.asm(11): error: Unrecognized instruction: im 0
11    0000                  im 0                ; #ED46
op_ED.asm(12): error: Illegal instruction:     ld      i,a         ; #ED47
12    0000                  ld      i,a         ; #ED47
op_ED.asm(13): error: Unrecognized instruction: in      c,(c)
13    0000                  in      c,(c)       ; #ED48
op_ED.asm(14): error: Unrecognized instruction: out     (c),c
14    0000                  out     (c),c       ; #ED49
op_ED.asm(15): error: Illegal instruction:     adc     hl,bc       ; #ED4A
15    0000                  adc     hl,bc       ; #ED4A
op_ED.asm(16): error: Illegal instruction:     ld      bc,(#100)   ; #ED4B0001
16    0000                  ld      bc,(#100)   ; #ED4B0001
17    0000 D9               reti                ; #ED4D on Z80, #D9 on LR35902
op_ED.asm(18): error: Illegal instruction:     ld      r,a         ; #ED4F
18    0001                  ld      r,a         ; #ED4F
19    0001
op_ED.asm(20): error: Unrecognized instruction: in      d,(c)
20    0001                  in      d,(c)       ; #ED50
op_ED.asm(21): error: Unrecognized instruction: out     (c),d
21    0001                  out     (c),d       ; #ED51
op_ED.asm(22): error: Illegal instruction:     sbc     hl,de       ; #ED52
22    0001                  sbc     hl,de       ; #ED52
op_ED.asm(23): error: Illegal instruction:     ld      (#100),de   ; #ED530001
23    0001                  ld      (#100),de   ; #ED530001
op_ED.asm(24): error: Unrecognized instruction: im 1
24    0001                  im 1                ; #ED56
op_ED.asm(25): error: Label not found: i
25    0001 3E 00            ld      a,i         ; #ED57
op_ED.asm(26): error: Unrecognized instruction: in      e,(c)
26    0003                  in      e,(c)       ; #ED58
op_ED.asm(27): error: Unrecognized instruction: out     (c),e
27    0003                  out     (c),e       ; #ED59
op_ED.asm(28): error: Illegal instruction:     adc     hl,de       ; #ED5A
28    0003                  adc     hl,de       ; #ED5A
op_ED.asm(29): error: Illegal instruction:     ld      de,(#100)   ; #ED5B0001
29    0003                  ld      de,(#100)   ; #ED5B0001
op_ED.asm(30): error: Label not found: r
30    0003 3E 00            ld      a,r         ; #ED5F
31    0005
op_ED.asm(32): error: Unrecognized instruction: in      h,(c)
32    0005                  in      h,(c)       ; #ED60
op_ED.asm(33): error: Unrecognized instruction: out     (c),h
33    0005                  out     (c),h       ; #ED61
op_ED.asm(34): error: Illegal instruction:     sbc     hl,hl       ; #ED62
34    0005                  sbc     hl,hl       ; #ED62
op_ED.asm(35): error: Unrecognized instruction: rrd
35    0005                  rrd                 ; #ED67
op_ED.asm(36): error: Unrecognized instruction: in      l,(c)
36    0005                  in      l,(c)       ; #ED68
op_ED.asm(37): error: Unrecognized instruction: out     (c),l
37    0005                  out     (c),l       ; #ED69
op_ED.asm(38): error: Illegal instruction:     adc     hl,hl       ; #ED6A
38    0005                  adc     hl,hl       ; #ED6A
op_ED.asm(39): error: Unrecognized instruction: rld
39    0005                  rld                 ; #ED6F
40    0005
op_ED.asm(41): error: Unrecognized instruction: in      f,(c)
41    0005                  in      f,(c)       ; #ED70
op_ED.asm(42): error: Unrecognized instruction: out     (c),0
42    0005                  out     (c),0       ; #ED71
op_ED.asm(43): error: Illegal instruction:     sbc     hl,sp       ; #ED72
43    0005                  sbc     hl,sp       ; #ED72
44    0005 08 00 01         ld      (#100),sp   ; #ED730001 on Z80, #080001 on LR35902
op_ED.asm(45): error: Unrecognized instruction: in      a,(c)
45    0008                  in      a,(c)       ; #ED78
op_ED.asm(46): error: Unrecognized instruction: out     (c),a
46    0008                  out     (c),a       ; #ED79
op_ED.asm(47): error: Illegal instruction:     adc     hl,sp       ; #ED7A
47    0008                  adc     hl,sp       ; #ED7A
op_ED.asm(48): error: Illegal instruction:     ld      sp,(#100)   ; #ED7B0001
48    0008                  ld      sp,(#100)   ; #ED7B0001
49    0008
op_ED.asm(50): error: Illegal instruction:     ldi                 ; #EDA0
50    0008                  ldi                 ; #EDA0
op_ED.asm(51): error: Unrecognized instruction: cpi
51    0008                  cpi                 ; #EDA1
op_ED.asm(52): error: Unrecognized instruction: ini
52    0008                  ini                 ; #EDA2
op_ED.asm(53): error: Unrecognized instruction: outi
53    0008                  outi                ; #EDA3
op_ED.asm(54): error: Illegal instruction:     ldd                 ; #EDA8
54    0008                  ldd                 ; #EDA8
op_ED.asm(55): error: Unrecognized instruction: cpd
55    0008                  cpd                 ; #EDA9
op_ED.asm(56): error: Unrecognized instruction: ind
56    0008                  ind                 ; #EDAA
op_ED.asm(57): error: Unrecognized instruction: outd
57    0008                  outd                ; #EDAB
58    0008
op_ED.asm(59): error: Unrecognized instruction: ldir
59    0008                  ldir                ; #EDB0
op_ED.asm(60): error: Unrecognized instruction: cpir
60    0008                  cpir                ; #EDB1
op_ED.asm(61): error: Unrecognized instruction: inir
61    0008                  inir                ; #EDB2
op_ED.asm(62): error: Unrecognized instruction: otir
62    0008                  otir                ; #EDB3
op_ED.asm(63): error: Unrecognized instruction: lddr
63    0008                  lddr                ; #EDB8
op_ED.asm(64): error: Unrecognized instruction: cpdr
64    0008                  cpdr                ; #EDB9
op_ED.asm(65): error: Unrecognized instruction: indr
65    0008                  indr                ; #EDBA
op_ED.asm(66): error: Unrecognized instruction: otdr
66    0008                  otdr                ; #EDBB
67    0008
# file closed: op_ED.asm

Value    Label
------ - -----------------------------------------------------------