Home | History | Annotate | Line # | Download | only in rv-n-cris
      1 #mach: crisv32
      2 #r @,$srcdir/$subdir/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
     23