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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [cr16/] [and_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
        # ANDB imm4/imm16, reg
6
        ###########
7
        andb    $0xf,r1
8
        andb    $0xff,r2
9
        andb    $0xfff,r1
10
        andb    $0xffff,r2
11
        andb    $20,r1
12
        andb    $10,r2
13
        ###########
14
        # ANDB reg, reg
15
        ###########
16
        andb    r1,r2
17
        andb    r2,r3
18
        andb    r3,r4
19
        andb    r5,r6
20
        andb    r6,r7
21
        andb    r7,r8
22
        ###########
23
        # ANDW imm4/imm16, reg
24
        ###########
25
        andw    $0xf,r1
26
        andw    $0xff,r2
27
        andw    $0xfff,r1
28
        andw    $0xffff,r2
29
        andw    $20,r1
30
        andw    $10,r2
31
        ###########
32
        # ANDW reg, reg
33
        ###########
34
        andw    r1,r2
35
        andw    r2,r3
36
        andw    r3,r4
37
        andw    r5,r6
38
        andw    r6,r7
39
        andw    r7,r8
40
        ###########
41
        # ANDD imm4/imm16/imm32, regp
42
        ###########
43
        andd    $0xf,(r2,r1)
44
        andd    $0xff,(r2,r1)
45
        andd    $0xfff,(r2,r1)
46
        andd    $0xffff,(r2,r1)
47
        andd    $0xfffff,(r2,r1)
48
        andd    $0xfffffff,(r2,r1)
49
        andd    $0xffffffff,(r2,r1)
50
        ###########
51
        # ANDD regp, regp
52
        ###########
53
        andd    (r4,r3),(r2,r1)
54
        andd    (r4,r3),(r2,r1)
55
        andd    $10,(sp)
56
        andd    $14,(sp)
57
        andd    $8,(sp)

powered by: WebSVN 2.1.0

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