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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [crx/] [cop_insn.s] - Blame information for rev 449

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

Line No. Rev Author Line
1 38 julius
# Co-Processor instructions.
2
 .data
3
foodata: .word 42
4
         .text
5
footext:
6
 
7
        .global cpi
8
cpi:
9
cpi $0x2, $0x1234
10
cpi $3, $0x8765, $0x4321
11
 
12
        .global mtcr
13
mtcr:
14
mtcr $0xf, r1, c14
15
 
16
        .global mfcr
17
mfcr:
18
mfcr $3, c7, r2
19
 
20
        .global mtcsr
21
mtcsr:
22
mtcsr $0x2, r5, cs1
23
 
24
        .global mfcsr
25
mfcsr:
26
mfcsr $01, cs12, ra
27
 
28
        .global ldcr
29
ldcr:
30
ldcr $1, r3, c8
31
 
32
        .global stcr
33
stcr:
34
stcr $2, c11, r4
35
 
36
        .global ldcsr
37
ldcsr:
38
ldcsr $4, r6, cs12
39
 
40
        .global stcsr
41
stcsr:
42
stcsr $7, cs10, r13
43
 
44
        .global loadmcr
45
loadmcr:
46
loadmcr $3, r1, {c2,c3,c5}
47
 
48
        .global stormcr
49
stormcr:
50
stormcr $15, ra, {c10,c9,c7,c4}
51
 
52
        .global loadmcsr
53
loadmcsr:
54
loadmcsr $12, r8, {cs7, cs8, cs9, cs10, cs11}
55
 
56
        .global stormcsr
57
stormcsr:
58
stormcsr $9, r9, {cs10,cs7,cs4}
59
 
60
        .global bcop
61
bcop:
62
bcop $7, $3, 0x90
63
bcop $6, $12, -0xbcdfe
64
 
65
        .global cpdop
66
cpdop:
67
cpdop $3, $2, r4, r5
68
cpdop $7, $10, r1, r2, $0x1234
69
 
70
        .global mtpr
71
mtpr:
72
mtpr r0 , hi
73
 
74
        .global mfpr
75
mfpr:
76
mfpr lo , r5
77
mfpr uhi , r10
78
 
79
        .global cinv
80
cinv:
81
cinv [i,d,u,b]
82
 

powered by: WebSVN 2.1.0

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