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/] [maxq20/] [math.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
;# 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]

powered by: WebSVN 2.1.0

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