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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 132 jeremybenn
        .text
2
        .global main
3
main:
4
        ################
5
        # lpr reg, preg
6
        ################
7
        lpr     r1,psr
8
        lpr     r2,cfg
9
        lpr     r2,intbasel
10
        lpr     r3,intbaseh
11
        lpr     r4,ispl
12
        lpr     r5,isph
13
        lpr     r6,uspl
14
        lpr     r7,usph
15
        lpr     r8,dsr
16
        lpr     r9,dcrl
17
        lpr     r10,dcrh
18
        lpr     r11,car0l
19
        lpr     r0,car0h
20
        lpr     r1,car1l
21
        lpr     r3,car1h
22
        #################
23
        # lprd regp, preg
24
        #################
25
        lprd    (r1,r0),psr
26
        lprd    (r2,r1),cfg
27
        lprd    (r3,r2),intbase
28
        lprd    (r4,r3),isp
29
        lprd    (r5,r4),usp
30
        lprd    (r6,r5),dsr
31
        lprd    (r7,r6),dcr
32
        lprd    (r8,r7),car0
33
        lprd    (r9,r8),car1
34
        #################
35
        # spr preg, reg
36
        #################
37
        spr     psr,r0
38
        spr     cfg,r1
39
        spr     intbasel,r2
40
        spr     intbaseh,r3
41
        spr     ispl,r4
42
        spr     isph,r5
43
        spr     uspl,r6
44
        spr     usph,r7
45
        spr     dsr,r8
46
        spr     dcrl,r9
47
        spr     dcrh,r10
48
        spr     car0l,r11
49
        spr     car0h,r0
50
        spr     car1l,r1
51
        spr     car1h,r2
52
        #################
53
        # sprd preg, regp
54
        #################
55
        sprd    psr,(r1,r0)
56
        sprd    cfg,(r2,r1)
57
        sprd    intbase,(r3,r2)
58
        sprd    isp,(r4,r3)
59
        sprd    usp,(r5,r4)
60
        sprd    dsr,(r6,r5)
61
        sprd    dcr,(r7,r6)
62
        sprd    car0,(r8,r7)
63
        sprd    car1,(r9,r8)

powered by: WebSVN 2.1.0

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