qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

check_movpr.s (459B)


      1 # mach: crisv3 crisv8 crisv10 crisv32
      2 # output: ffffff00\nffff0000\n0\nbb113344\n
      3 
      4 # Test generic "move Ps,Rd" and "move Rs,Pd" insns; the ones with
      5 # functionality common to all models.
      6 
      7  .include "testutils.inc"
      8  start
      9  moveq -1,r3
     10  clear.b r3
     11  checkr3 ffffff00
     12 
     13  moveq -1,r3
     14  clear.w r3
     15  checkr3 ffff0000
     16 
     17  moveq -1,r3
     18  clear.d r3
     19  checkr3 0
     20 
     21  moveq -1,r3
     22  move.d 0xbb113344,r4
     23  setf zcvn
     24  move r4,srp
     25  move srp,r3
     26  test_cc 1 1 1 1
     27  checkr3 bb113344
     28  quit