t-rac.s 300 B

1234567891011121314151617181920
  1. # mach: all
  2. # output:
  3. # sim: --environment operating
  4. .include "t-macros.i"
  5. start
  6. ;; clear FX
  7. loadpsw2 0x8004
  8. loadacc2 a0 0x80 0x0000 0x0000
  9. loadacc2 a1 0x00 0x0000 0x5000
  10. load r10 0x0123
  11. load r11 0x4567
  12. test_rac1:
  13. RAC r10, a0, #-2
  14. checkpsw2 1 0x8008
  15. check2w2 2 r10 0x8000 0x0000
  16. exit0