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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [mcp.ms] - Blame information for rev 840

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# mach: crisv32
2
# output: fffffffe\n1\n1ffff\nfffffffe\ncc463bdc\n4c463bdc\n0\n
3
 
4
 .include "testutils.inc"
5
 start
6
 
7
; Set R, clear C.
8
 move 0x100,ccs
9
 moveq -5,r3
10
 move 2,mof
11
 mcp mof,r3
12
 test_cc 1 0 0 0
13
 dumpr3 ; fffffffe
14
 
15
 moveq 2,r3
16
 move -1,srp
17
 mcp srp,r3
18
 test_cc 0 0 0 0
19
 dumpr3 ; 1
20
 
21
 move 0xffff,srp
22
 move srp,r3
23
 mcp srp,r3
24
 test_cc 0 0 0 0
25
 dumpr3 ; 1ffff
26
 
27
 move -1,mof
28
 move mof,r3
29
 mcp mof,r3
30
 test_cc 1 0 0 0
31
 dumpr3 ; fffffffe
32
 
33
 move 0x5432f789,mof
34
 move.d 0x78134452,r3
35
 mcp mof,r3
36
 test_cc 1 0 1 0
37
 dumpr3 ; cc463bdc
38
 
39
 move 0x80000000,srp
40
 mcp srp,r3
41
 test_cc 0 0 1 0
42
 dumpr3 ; 4c463bdc
43
 
44
 move 0xb3b9c423,srp
45
 mcp srp,r3
46
 test_cc 0 1 0 0
47
 dumpr3 ; 0
48
 
49
 quit

powered by: WebSVN 2.1.0

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