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/] [cr16/] [xor_test.s] - Blame information for rev 438

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

Line No. Rev Author Line
1 205 julius
        .text
2
        .global main
3
main:
4
        ###########
5
        # XORB imm4/imm16, reg
6
        ###########
7
        xorb    $0xf,r1
8
        xorb    $0xff,r2
9
        xorb    $0xfff,r1
10
        xorb    $0xffff,r2
11
        xorb    $20,r1
12
        xorb    $10,r2
13
        ###########
14
        # XORB reg, reg
15
        ###########
16
        xorb    r1,r2
17
        xorb    r2,r3
18
        xorb    r3,r4
19
        xorb    r5,r6
20
        xorb    r6,r7
21
        xorb    r7,r8
22
        ###########
23
        # XORW imm4/imm16, reg
24
        ###########
25
        xorw    $0xf,r1
26
        xorw    $0xff,r2
27
        xorw    $0xfff,r1
28
        xorw    $0xffff,r2
29
        xorw    $20,r1
30
        xorw    $10,r2
31
        ###########
32
        # XORW reg, reg
33
        ###########
34
        xorw    r1,r2
35
        xorw    r2,r3
36
        xorw    r3,r4
37
        xorw    r5,r6
38
        xorw    r6,r7
39
        xorw    r7,r8
40
        ###########
41
        # XORD imm32, regp
42
        ###########
43
        xord    $0xf,(r2,r1)
44
        xord    $0xff,(r2,r1)
45
        xord    $0xfff,(r2,r1)
46
        xord    $0xffff,(r2,r1)
47
        xord    $0xfffff,(r2,r1)
48
        xord    $0xfffffff,(r2,r1)
49
        xord    $0xffffffff,(r2,r1)
50
        ###########
51
        # XORD regp, regp
52
        ###########
53
        xord    (r4,r3),(r2,r1)
54
        xord    (r4,r3),(r2,r1)
55
        #xord    $10,(sp)
56
        #xord    $14,(sp)
57
        #xord    $8,(sp)

powered by: WebSVN 2.1.0

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