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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
        .text
2
        .global main
3
main:
4
        ###########
5
        # CMPB imm4/imm16, reg
6
        ###########
7
        cmpb    $0xf,r1
8
        cmpb    $0xff,r2
9
        cmpb    $0xfff,r1
10
        #cmpb    $0xffff,r2 // CHCEFK WITH CRASM 4.1
11
        cmpb    $20,r1
12
        cmpb    $10,r2
13
        cmpb    $11,r2
14
        ###########
15
        # CMPB reg, reg
16
        ###########
17
        cmpb    r1,r2
18
        cmpb    r2,r3
19
        cmpb    r3,r4
20
        cmpb    r5,r6
21
        cmpb    r6,r7
22
        cmpb    r7,r8
23
        ###########
24
        # CMPW imm4/imm16, reg
25
        ###########
26
        cmpw    $0xf,r1
27
        cmpw    $0xB,r1
28
        cmpw    $0xff,r2
29
        cmpw    $0xfff,r1
30
        #cmpw    $0xffff,r2 // CHECK WITH CRASM 4.1
31
        cmpw    $20,r1
32
        cmpw    $10,r2
33
        cmpw    $11,r2
34
        ###########
35
        # CMPW reg, reg
36
        ###########
37
        cmpw    r1,r2
38
        cmpw    r2,r3
39
        cmpw    r3,r4
40
        cmpw    r5,r6
41
        cmpw    r6,r7
42
        cmpw    r7,r8
43
        ###########
44
        # CMPD imm4/imm16/imm32, regp
45
        ###########
46
        cmpd    $0xf,(r2,r1)
47
        cmpd    $0xB,(r2,r1)
48
        cmpd    $0xff,(r2,r1)
49
        cmpd    $0xfff,(r2,r1)
50
        cmpd    $0xffff,(r2,r1)
51
        cmpd    $0xfffff,(r2,r1)
52
        cmpd    $0xfffffff,(r2,r1)
53
        cmpd    $0xffffffff,(r2,r1)
54
        ###########
55
        # CMPD regp, regp
56
        ###########
57
        cmpd    (r4,r3),(r2,r1)
58
        cmpd    (r4,r3),(r2,r1)
59
        cmpd    $10,(sp)
60
        cmpd    $14,(sp)
61
        cmpd    $11,(sp)
62
        cmpd    $8,(sp)

powered by: WebSVN 2.1.0

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