Add support for the Infineon XC16X.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / xc16x / mov_test.s
1 .xc16x
2 mov r0,r1
3 mov r0,#02
4 mov r0,#0x0001
5 mov r0,[r1]
6 mov r0,[r1+]
7 mov [r0],r1
8 mov [-r0],r1
9 mov [r0],[r1]
10 mov [r0+],[r1]
11 mov [r0],[r1+]
12 mov r0,[r0+#0x0001]
13 mov [r0+#0x0001],r0
14 mov [r0],0x0001
15 mov 0x0001,[r0]
16 mov r0,0x0001
17 mov 0x0001,r0
18
19 mov r0,r1
20 mov r0,#02
21 mov r0,#0xffff
22 mov r0,[r1]
23 mov r0,[r1+]
24 mov [r0],r1
25 mov [-r0],r1
26 mov [r0],[r1]
27 mov [r0+],[r1]
28 mov [r0],[r1+]
29 mov r0,[r0+#0xffff]
30 mov [r0+#0xffff],r0
31 mov [r0],0xffff
32 mov 0xffff,[r0]
33 mov r0,0xffff
34 mov 0xffff,r0
35
36 movb rl0,r2
37 movb rl0,#0x12
38 movb r3,[r2]
39 movb rl0,[r2+]
40 movb [-r2],rl0
41 movb [r3],[r2+]
42 movb [r3],[r2]
43 movb [r2+],[r3]
44 movb [r2],[r3+]
45 movb rl0,[r3+#0x1234]
46 movb [r3+#0x1234],rl0
47 movb [r3],0x1234
48 movb [r3],0x1234
49 movb 0x1234,[r3]
50 movb rl0,0x12
51 movb 0x12,rl0
52
53 movb rl0,r2
54 movb rl0,#0xff
55 movb r3,[r2]
56 movb rl0,[r2+]
57 movb [-r2],rl0
58 movb [r3],[r2+]
59 movb [r3],[r2]
60 movb [r2+],[r3]
61 movb [r2],[r3+]
62 movb rl0,[r3+#0xffff]
63 movb [r3+#0xffff],rl0
64 movb [r3],0xffff
65 movb [r3],0xffff
66 movb 0xffff,[r3]
67 movb rl0,0xff
68 movb 0xff,rl0
69
70 movbs r0,rl1
71 movbs r0,0x12
72 movbs 0x1234,rl0
73
74 movbs r0,rl1
75 movbs r0,0xff
76 movbs 0xffff,rl0
77
78 movbz r2,rl0
79 movbz r0,0x1234
80 movbz 0x1234,rl0
81
82 movbz r2,rl0
83 movbz r0,0xffff
84 movbz 0xffff,rl0
85
This page took 0.037823 seconds and 4 git commands to generate.