projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add script to build and test GDB using enable-targets=all.
[deliverable/binutils-gdb.git]
/
gas
/
testsuite
/
gas
/
maxq10
/
math.s
1
;# math.s
2
;# Implements all the math intuctions
3
4
.text
5
foo:
6
ADD #01h ; add 01h to accumulator
7
ADD #02h
8
ADD #03h
9
ADD #04h
10
ADD #05h
11
ADD A[0] ; Add Active accumulator+A[0]
12
ADD A[1]
13
ADD A[2]
14
ADD A[3]
15
ADD A[4]
16
ADDC #31h
17
ADDC #32h
18
ADDC #33h
19
ADDC A[0]
20
ADDC A[1]
21
ADDC A[2]
22
ADDC A[3]
23
SUB #01h ; Substract 01h from accumulator
24
SUB #02h
25
SUB #03h
26
SUB #04h
27
SUB #05h
28
SUB A[0] ; Active accumulator-A[0]
29
SUB A[1]
30
SUB A[2]
31
SUB A[3]
32
SUB A[4]
33
SUBB #31h
34
SUBB #32h
35
SUBB #33h
36
SUBB A[0]
37
SUBB A[1]
38
SUBB A[2]
39
SUBB A[3]
This page took
0.03152 seconds
and
4
git commands to generate.