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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 132 jeremybenn
        .text
2
        .global main
3
main:
4
        ######################
5
        #  loadw abs20/24 reg
6
        ######################
7
        loadw 0x0,r0
8
        loadw 0xff,r1
9
        loadw 0xfff,r3
10
        loadw 0x1234,r4
11
        loadw 0x1234,r5
12
        loadw 0x7A1234,r0
13
        loadw 0xBA1234,r1
14
        loadw 0xffffff,r2
15
        ######################
16
        #  loadw abs20 rel reg
17
        ######################
18
        loadw [r12]0x0,r0
19
        loadw [r13]0x0,r0
20
        loadw [r12]0xff,r1
21
        loadw [r13]0xff,r1
22
        loadw [r12]0xfff,r3
23
        loadw [r13]0xfff,r3
24
        loadw [r12]0x1234,r4
25
        loadw [r13]0x1234,r4
26
        loadw [r12]0x1234,r5
27
        loadw [r13]0x1234,r5
28
        loadw [r12]0x4567,r2
29
        loadw [r13]0xA1234,r2
30
        ###################################
31
        #  loadw rbase(disp20/-disp20)  reg
32
        ###################################
33
        loadw 0x4(r1,r0),r1
34
        loadw 0x4(r3,r2),r3
35
        loadw 0x1234(r1,r0),r4
36
        loadw 0x1234(r3,r2),r5
37
        loadw 0xA1234(r1,r0),r6
38
        loadw -0x4(r1,r0),r1
39
        loadw -0x4(r3,r2),r3
40
        loadw -0x1234(r1,r0),r4
41
        loadw -0x1234(r3,r2),r5
42
        loadw -0xA1234(r1,r0),r6
43
        #################################################
44
        #  loadw rpbase(disp4/disp16/disp20/-disp20)  reg
45
        #################################################
46
        loadw 0x0(r1,r0),r0
47
        loadw 0x0(r1,r0),r1
48
        loadw 0xf(r1,r0),r0
49
        loadw 0xf(r1,r0),r1
50
        loadw 0x1234(r1,r0),r2
51
        loadw 0xabcd(r3,r2),r3
52
        loadw 0xAfff(r4,r3),r4
53
        loadw 0xA1234(r6,r5),r5
54
        loadw -0xf(r1,r0),r0
55
        loadw -0xf(r1,r0),r1
56
        loadw -0x1234(r1,r0),r2
57
        loadw -0xabcd(r3,r2),r3
58
        loadw -0xAfff(r4,r3),r4
59
        loadw -0xA1234(r6,r5),r5
60
        ####################################
61
        #  loadw rbase(disp0/disp14) rel reg
62
        ####################################
63
        loadw [r12]0x0(r1,r0),r0
64
        loadw [r13]0x0(r1,r0),r1
65
        loadw [r12]0x1234(r1,r0),r2
66
        loadw [r13]0x1abcd(r1,r0),r3
67
        #################################
68
        #  loadw rpbase(disp20) rel reg
69
        #################################
70
        loadw [r12]0xA1234(r1,r0),r4
71
        loadw [r13]0xB1234(r1,r0),r5
72
        loadw [r13]0xfffff(r1,r0),r6

powered by: WebSVN 2.1.0

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