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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [hw/] [rv-n-cris/] [trivial4.ms] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
#mach: crisv32
2
#r @,@srcdir@/trivial4.r
3
 
4
# Test read and writes.
5
 
6
 .include "testutils.inc"
7
 start
8
 move.d 0xd0000032,$r0
9
 move.d [$r0+],$r3
10
 cmp.d 0xabcdef01,$r3
11
 beq ok
12
 nop
13
bad:
14
 fail
15
ok:
16
 move.d 0xaabbccdd,$r3
17
 move.d $r3,[$r0]
18
 move.d [$r0],$r3
19
 cmp.d 0x76543210,$r3
20
 bne bad
21
 nop
22
 pass

powered by: WebSVN 2.1.0

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