All registers are set to 0 on reset (Robert Reif)
[qemu/qemu_0_9_1_stable.git] / tests / cris / check_movpmv32.s
blobdaf0970e4a644e7fc1968b2fa0d4896f259976c6
1 # mach: crisv32
2 # output: 11223320\nbb113344\naa557711\n
4 # Test v32-specific special registers. FIXME: more registers.
6 .include "testutils.inc"
7 start
8 .data
9 store:
10 .dword 0x11223344
11 .dword 0x77665544
13 .text
14 moveq -1,r3
15 move.d store,r4
16 move vr,[r4]
17 move [r4+],mof
18 move mof,r3
19 checkr3 11223320
21 moveq -1,r3
22 clearf zcvn
23 move 0xbb113344,mof
24 test_cc 0 0 0 0
25 move mof,r3
26 checkr3 bb113344
28 setf zcvn
29 move 0xaa557711,mof
30 test_cc 1 1 1 1
31 move mof,[r4]
32 move.d [r4],r3
33 checkr3 aa557711
35 quit