1# mach: crisv0 crisv3 crisv8 crisv10 2# output: 2\n2\nffff\nffffffff\n5432f789\n2\nffff\n2\nffff\nffff\nf789\n2\n2\nff\nff\nff\n89\n0\n 3 4 .include "testutils.inc" 5 .data 6x: 7 .dword 2,-1,0xffff,-1,0x5432f789 8 .word 2,0xffff,0xf789 9 .byte 2,0xff,0x89,0 10 11 start 12 move.d x,r5 13 14 moveq -1,r3 15 moveq 2,r4 16 bound.d [r5+],r3 17 test_move_cc 0 0 0 0 18 dumpr3 ; 2 19 20 moveq 2,r3 21 bound.d [r5],r3 22 test_move_cc 0 0 0 0 23 addq 4,r5 24 dumpr3 ; 2 25 26 move.d 0xffff,r3 27 bound.d [r5+],r3 28 test_move_cc 0 0 0 0 29 dumpr3 ; ffff 30 31 moveq -1,r3 32 bound.d [r5+],r3 33 test_move_cc 1 0 0 0 34 dumpr3 ; ffffffff 35 36 move.d 0x78134452,r3 37 bound.d [r5+],r3 38 test_move_cc 0 0 0 0 39 dumpr3 ; 5432f789 40 41 moveq -1,r3 42 bound.w [r5+],r3 43 test_move_cc 0 0 0 0 44 dumpr3 ; 2 45 46 moveq -1,r3 47 bound.w [r5],r3 48 test_move_cc 0 0 0 0 49 dumpr3 ; ffff 50 51 moveq 2,r3 52 bound.w [r5],r3 53 test_move_cc 0 0 0 0 54 dumpr3 ; 2 55 56 move.d 0xffff,r3 57 bound.w [r5],r3 58 test_move_cc 0 0 0 0 59 dumpr3 ; ffff 60 61 move.d 0xfedaffff,r3 62 bound.w [r5+],r3 63 test_move_cc 0 0 0 0 64 dumpr3 ; ffff 65 66 move.d 0x78134452,r3 67 bound.w [r5+],r3 68 test_move_cc 0 0 0 0 69 dumpr3 ; f789 70 71 moveq -1,r3 72 bound.b [r5+],r3 73 test_move_cc 0 0 0 0 74 dumpr3 ; 2 75 76 moveq 2,r3 77 bound.b [r5],r3 78 test_move_cc 0 0 0 0 79 dumpr3 ; 2 80 81 moveq -1,r3 82 bound.b [r5],r3 83 test_move_cc 0 0 0 0 84 dumpr3 ; ff 85 86 move.d 0xff,r3 87 bound.b [r5],r3 88 test_move_cc 0 0 0 0 89 dumpr3 ; ff 90 91 move.d 0xfeda49ff,r3 92 bound.b [r5+],r3 93 test_move_cc 0 0 0 0 94 dumpr3 ; ff 95 96 move.d 0x78134452,r3 97 bound.b [r5+],r3 98 test_move_cc 0 0 0 0 99 dumpr3 ; 89 100 101 bound.b [r5],r3 102 test_move_cc 0 1 0 0 103 dumpr3 ; 0 104 105 quit 106