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/] [addoc.ms] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# mach: crisv32
2
# output: 4455aa77\n4455aa77\nee19ccff\nff22\n4455aa77\nff224455\n55aa77ff\n
3
 
4
 .include "testutils.inc"
5
 .data
6
x:
7
 .dword 0x55aa77ff
8
 .dword 0xccff2244
9
 .dword 0x88ccee19
10
 
11
 start
12
 moveq -1,r0
13
 move.d x-32768,r5
14
 addo.d 32769,r5,acr
15
 move.d [acr],r3
16
 dumpr3 ; 4455aa77
17
 
18
 addu.w 32770,r5
19
 addo.w -1,r5,acr
20
 move.d [acr],r3
21
 dumpr3 ; 4455aa77
22
 
23
 addo.d 5,acr,acr
24
 move.d [acr],r3
25
 dumpr3 ; ee19ccff
26
 
27
 addo.b 3,r5,acr
28
 movu.w [acr],r3
29
 dumpr3 ; ff22
30
 
31
 addo.b -4,acr,acr
32
 move.d [acr],r3
33
 dumpr3 ; 4455aa77
34
 
35
 addo.w 2,acr,acr
36
 move.d [acr],r3
37
 dumpr3 ; ff224455
38
 
39
 addo.d -76789887,r5,acr
40
 add.d 76789885,acr
41
 move.d [acr],r3
42
 dumpr3 ; 55aa77ff
43
 
44
 quit

powered by: WebSVN 2.1.0

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