repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
bfd/ELF: slightly "better" file alignment for object files
[binutils-gdb.git]
/
sim
/
testsuite
/
cris
/
asm
/
mcp.ms
blob
9aee39ca3fc938b5bcaef05f588eb654dcb4995f
1
# 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