Home | History | Annotate | Line # | Download | only in rv-n-cris
      1  1.1  christos #mach: crisv10 crisv32
      2  1.1  christos #sim(crisv10): --hw-device "/rv/trace? true"
      3  1.1  christos #sim(crisv32): --hw-device "/rv/trace? true"
      4  1.1  christos #output: /rv: WD\n
      5  1.1  christos #output: /rv: MBOX H 0x1001d..0x10037\n
      6  1.1  christos #output: /rv: 0x10020: 12 23 34 56 79 8a bd de\n
      7  1.1  christos #output: /rv: 0x10028: fb ad ba db ad 56 78 9a\n
      8  1.1  christos #output: /rv: 0x10030: fd e1 23 45 66 54 32 1a\n
      9  1.1  christos #output: /rv: -> 0x1001d..0x10027\n
     10  1.1  christos #output: /rv: 0x10020: aa 55 77 88 32 10 ee cc\n
     11  1.1  christos #output: /rv: MBOX P 0xfffd..0x1001f\n
     12  1.1  christos #output: /rv: 0x10000: aa 55 12 23 34 56 79 8a\n
     13  1.1  christos #output: /rv: 0x10008: bd de fb ad ba db ad 56\n
     14  1.1  christos #output: /rv: 0x10010: 78 9a fd e1 23 45 66 54\n
     15  1.1  christos #output: /rv: 0x10018: 32 1a ac cb be ed db ed\n
     16  1.1  christos #output: /rv: -> 0xfffd..0x10017\n
     17  1.1  christos #output: /rv: 0x10000: 11 22 56 78 ee dd 12 ab\n
     18  1.1  christos #output: /rv: 0x10008: 55 aa ee 00 42 12 27 98\n
     19  1.1  christos #output: /rv: 0x10010: 88 55 22 33 66 77 22 45\n
     20  1.1  christos #output: /rv: REG R 0xd0000038\n
     21  1.1  christos #output: /rv: := 0x76543211\n
     22  1.1  christos #output: pass\n
     23  1.1  christos 
     24  1.1  christos # Trivial test of mailbox commands.
     25  1.1  christos 
     26  1.1  christos #r W,
     27  1.1  christos #r i,1b000512233456798abddefbadbadbad56789afde123456654321a
     28  1.1  christos #r o,0b0005aa5577883210eecc
     29  1.1  christos #r i,230006aa5512233456798abddefbadbadbad56789afde123456654321aaccbbeeddbed
     30  1.1  christos #r o,1b000511225678eedd12ab55aaee00421227988855223366772245
     31  1.1  christos #r r,a8838,76543211
     32  1.1  christos 
     33  1.1  christos  .include "testutils.inc"
     34  1.1  christos  start
     35  1.1  christos  move.w 0x1b,$r0
     36  1.1  christos  move.d 0x1001d,$r1
     37  1.1  christos  move.w $r0,[$r1+]
     38  1.1  christos  moveq 5,$r0
     39  1.1  christos  move.b $r0,[$r1]
     40  1.1  christos  mvi_h_mem 0x56342312 0x10020
     41  1.1  christos  mvi_h_mem 0xdebd8a79 0x10024
     42  1.1  christos  mvi_h_mem 0xdbbaadfb 0x10028
     43  1.1  christos  mvi_h_mem 0x9a7856ad 0x1002c
     44  1.1  christos  mvi_h_mem 0x4523e1fd 0x10030
     45  1.1  christos  mvi_h_mem 0x1a325466 0x10034
     46  1.1  christos 
     47  1.1  christos  mvi_h_mem 0x1001d 0xc000f000
     48  1.1  christos 
     49  1.1  christos  move.d 0x1001d,$r0
     50  1.1  christos  movu.w [$r0+],$r1
     51  1.1  christos  test_h_gr 0xb $r1
     52  1.1  christos  movu.b [$r0],$r1
     53  1.1  christos  test_h_gr 0x5 $r1
     54  1.1  christos  test_h_mem 0x887755aa 0x10020
     55  1.1  christos  test_h_mem 0xccee1032 0x10024
     56  1.1  christos 
     57  1.1  christos  move.w 0x23,$r0
     58  1.1  christos  move.d 0xfffd,$r1
     59  1.1  christos  move.w $r0,[$r1+]
     60  1.1  christos  moveq 6,$r0
     61  1.1  christos  move.b $r0,[$r1]
     62  1.1  christos  mvi_h_mem 0x231255aa 0x10000
     63  1.1  christos  mvi_h_mem 0x8a795634 0x10004
     64  1.1  christos  mvi_h_mem 0xadfbdebd 0x10008
     65  1.1  christos  mvi_h_mem 0x56addbba 0x1000c
     66  1.1  christos  mvi_h_mem 0xe1fd9a78 0x10010
     67  1.1  christos  mvi_h_mem 0x54664523 0x10014
     68  1.1  christos  mvi_h_mem 0xcbac1a32 0x10018
     69  1.1  christos  mvi_h_mem 0xeddbedbe 0x1001c
     70  1.1  christos 
     71  1.1  christos  mvi_h_mem 0xfffd 0xc000f000
     72  1.1  christos 
     73  1.1  christos  move.d 0xfffd,$r0
     74  1.1  christos  movu.w [$r0+],$r1
     75  1.1  christos  test_h_gr 0x1b $r1
     76  1.1  christos  movu.b [$r0],$r1
     77  1.1  christos  test_h_gr 0x6 $r1
     78  1.1  christos  test_h_mem 0x78562211 0x10000
     79  1.1  christos  test_h_mem 0xab12ddee 0x10004
     80  1.1  christos  test_h_mem 0x00eeaa55 0x10008
     81  1.1  christos  test_h_mem 0x98271242 0x1000c
     82  1.1  christos  test_h_mem 0x33225588 0x10010
     83  1.1  christos  test_h_mem 0x45227766 0x10014
     84  1.1  christos 
     85  1.1  christos  test_h_mem 0x76543211 0xd0000038
     86  1.1  christos  pass
     87  1.1  christos 
     88  1.1  christos  .fill 65536*2+128,1,0
     89