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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [cris/] [asm/] [movemr.ms] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# mach: crisv3 crisv8 crisv10 crisv32
2
# output: 12345678\n10234567\n12345678\n12344567\n12344523\n76543210\nffffffaa\naa\n9911\nffff9911\n78\n56\n3456\n6712\n
3
 
4
 .include "testutils.inc"
5
 start
6
 
7
 .data
8
mem1:
9
 .dword 0x12345678
10
mem2:
11
 .word 0x4567
12
mem3:
13
 .byte 0x23
14
 .dword 0x76543210
15
 .byte 0xaa,0x11,0x99
16
 
17
 .text
18
 move.d mem1,r2
19
 move.d [r2],r3
20
 test_move_cc 0 0 0 0
21
 dumpr3
22
 
23
 move.d mem2,r3
24
 move.d [r3],r3
25
 test_move_cc 0 0 0 0
26
 dumpr3
27
 
28
 move.d mem1,r2
29
 move.d [r2+],r3
30
 test_move_cc 0 0 0 0
31
 dumpr3
32
 
33
 move.w [r2+],r3
34
 test_move_cc 0 0 0 0
35
 dumpr3
36
 
37
 move.b [r2+],r3
38
 test_move_cc 0 0 0 0
39
 dumpr3
40
 
41
 move.d [r2+],r3
42
 test_move_cc 0 0 0 0
43
 dumpr3
44
 
45
 movs.b [r2],r3
46
 test_move_cc 1 0 0 0
47
 dumpr3
48
 
49
 movu.b [r2+],r3
50
 test_move_cc 0 0 0 0
51
 dumpr3
52
 
53
 movu.w [r2],r3
54
 test_move_cc 0 0 0 0
55
 dumpr3
56
 
57
 movs.w [r2+],r3
58
 test_move_cc 1 0 0 0
59
 dumpr3
60
 
61
 move.d mem1,r13
62
 movs.b [r13+],r3
63
 test_move_cc 0 0 0 0
64
 dumpr3
65
 
66
 movu.b [r13],r3
67
 test_move_cc 0 0 0 0
68
 dumpr3
69
 
70
 movs.w [r13+],r3
71
 test_move_cc 0 0 0 0
72
 dumpr3
73
 
74
 movu.w [r13+],r3
75
 test_move_cc 0 0 0 0
76
 dumpr3
77
 
78
 quit
79
 

powered by: WebSVN 2.1.0

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