]> git.sur5r.net Git - cc65/blob - testcode/assembler/illegal.s
Renamed the comlynx source and driver to lynx-comlynx, so it follows the
[cc65] / testcode / assembler / illegal.s
1
2         .setcpu         "6502X"
3
4
5 .macro  test    opc
6
7         opc     $00
8         opc     $00,x
9         opc     ($00,x)
10         opc     ($00),y
11         opc     $1234
12         opc     $1234,x
13         opc     $1234,y
14
15 .endmacro
16
17
18         test    slo
19         test    rla
20         test    sre
21         test    rra
22         test    dcp
23         test    isc
24
25         sax     $00
26         sax     $00,y
27         sax     ($00,x)
28         sax     $1234
29
30         lax     $00
31         lax     $00,y
32         lax     ($00,x)
33         lax     ($00),y
34         lax     $1234
35         lax     $1234,y
36
37         anc     #$55
38         alr     #$55
39         arr     #$55
40         axs     #$55
41
42         las     $1234,y
43