OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [z80/] [arith.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
        .text
2
        .org 0
3
;;; 8-bit arithmetic and logic
4
        add a,a
5
        add a,b
6
        add a,c
7
        add a,d
8
        add a,e
9
        add a,h
10
        add a,l
11
        add a,(hl)
12
        add a,(ix+5)
13
        add a,(iy+5)
14
        add a,17
15
 
16
        adc a,a
17
        adc a,b
18
        adc a,c
19
        adc a,d
20
        adc a,e
21
        adc a,h
22
        adc a,l
23
        adc a,(hl)
24
        adc a,(ix+5)
25
        adc a,(iy+5)
26
        adc a,17
27
 
28
        sub a
29
        sub b
30
        sub c
31
        sub d
32
        sub e
33
        sub h
34
        sub l
35
        sub (hl)
36
        sub (ix+5)
37
        sub (iy+5)
38
        sub 17
39
 
40
        sbc a,a
41
        sbc a,b
42
        sbc a,c
43
        sbc a,d
44
        sbc a,e
45
        sbc a,h
46
        sbc a,l
47
        sbc a,(hl)
48
        sbc a,(ix+5)
49
        sbc a,(iy+5)
50
        sbc a,17
51
 
52
        and a
53
        and b
54
        and c
55
        and d
56
        and e
57
        and h
58
        and l
59
        and (hl)
60
        and (ix+5)
61
        and (iy+5)
62
        and 17
63
 
64
        xor a
65
        xor b
66
        xor c
67
        xor d
68
        xor e
69
        xor h
70
        xor l
71
        xor (hl)
72
        xor (ix+5)
73
        xor (iy+5)
74
        xor 17
75
 
76
        or a
77
        or b
78
        or c
79
        or d
80
        or e
81
        or h
82
        or l
83
        or (hl)
84
        or (ix+5)
85
        or (iy+5)
86
        or 17
87
 
88
        cp a
89
        cp b
90
        cp c
91
        cp d
92
        cp e
93
        cp h
94
        cp l
95
        cp (hl)
96
        cp (ix+5)
97
        cp (iy+5)
98
        cp 17
99
 
100
        inc a
101
        inc b
102
        inc c
103
        inc d
104
        inc e
105
        inc h
106
        inc l
107
        inc (hl)
108
        inc (ix+5)
109
        inc (iy+5)
110
 
111
        dec a
112
        dec b
113
        dec c
114
        dec d
115
        dec e
116
        dec h
117
        dec l
118
        dec (hl)
119
        dec (ix+5)
120
        dec (iy+5)
121
 
122
;;; 16-bit arithmetic anmd logic
123
        add hl,bc
124
        add hl,de
125
        add hl,hl
126
        add hl,sp
127
 
128
        add ix,bc
129
        add ix,de
130
        add ix,ix
131
        add ix,sp
132
 
133
        add iy,bc
134
        add iy,de
135
        add iy,iy
136
        add iy,sp
137
 
138
        adc hl,bc
139
        adc hl,de
140
        adc hl,hl
141
        adc hl,sp
142
 
143
        sbc hl,bc
144
        sbc hl,de
145
        sbc hl,hl
146
        sbc hl,sp
147
 
148
        inc bc
149
        inc de
150
        inc hl
151
        inc sp
152
        inc ix
153
        inc iy
154
 
155
        dec bc
156
        dec de
157
        dec hl
158
        dec sp
159
        dec ix
160
        dec iy
161
 
162
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.