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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cr16/] [sub_test.s] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
        .text
2
        .global main
3
main:
4
        ###########
5
        # SUBB imm4/imm16, reg
6
        ###########
7
        subb    $0xf,r1
8
        subb    $0xff,r2
9
        subb    $0xfff,r1
10
        #subb    $0xffff,r2  // CHECK WITH CRASM 4.1
11
        subb    $20,r1
12
        subb    $10,r2
13
        ###########
14
        # SUBB reg, reg
15
        ###########
16
        subb    r1,r2
17
        subb    r2,r3
18
        subb    r3,r4
19
        subb    r5,r6
20
        subb    r6,r7
21
        subb    r7,r8
22
        ###########
23
        # SUBCB imm4/imm16, reg
24
        ###########
25
        subcb    $0xf,r1
26
        subcb    $0xff,r2
27
        subcb    $0xfff,r1
28
        #subcb    $0xffff,r2   // CHECK WITH CRASM 4.1
29
        subcb    $20,r1
30
        subcb    $10,r2
31
        ###########
32
        # SUBCB reg, reg
33
        ###########
34
        subcb    r1,r2
35
        subcb    r2,r3
36
        subcb    r3,r4
37
        subcb    r5,r6
38
        subcb    r6,r7
39
        subcb    r7,r8
40
        ###########
41
        # SUBCW imm4/imm16, reg
42
        ###########
43
        subcw    $0xf,r1
44
        subcw    $0xff,r2
45
        subcw    $0xfff,r1
46
        #subcw    $0xffff,r2  // CHECK WITH CRASM 4.1
47
        subcw    $20,r1
48
        subcw    $10,r2
49
        ###########
50
        # SUBCW reg, reg
51
        ###########
52
        subcw    r1,r2
53
        subcw    r2,r3
54
        subcw    r3,r4
55
        subcw    r5,r6
56
        subcw    r6,r7
57
        subcw    r7,r8
58
        ###########
59
        # SUBW imm4/imm16, reg
60
        ###########
61
        subw    $0xf,r1
62
        subw    $0xff,r2
63
        subw    $0xfff,r1
64
        #subw    $0xffff,r2  // CHECK WITH CRASM 4.1
65
        subw    $20,r1
66
        subw    $10,r2
67
        ###########
68
        # SUBW reg, reg
69
        ###########
70
        subw    r1,r2
71
        subw    r2,r3
72
        subw    r3,r4
73
        subw    r5,r6
74
        subw    r6,r7
75
        subw    r7,r8
76
        ###########
77
        # SUBD imm4/imm16/imm32, regp
78
        ###########
79
        subd    $0xf,(r2,r1)
80
        subd    $0xff,(r2,r1)
81
        subd    $0xfff,(r2,r1)
82
        subd    $0xffff,(r2,r1)
83
        subd    $0xfffff,(r2,r1)
84
        subd    $0xfffffff,(r2,r1)
85
        subd    $0xffffffff,(r2,r1)
86
        ###########
87
        # SUBD regp, regp
88
        ###########
89
        subd    (r4,r3),(r2,r1)
90
        subd    (r4,r3),(r2,r1)
91
        #subd    $10,(sp)
92
        #subd    $14,(sp)
93
        #subd    $8,(sp)

powered by: WebSVN 2.1.0

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