lpr-spr.cgs 178 B

123456789101112131415161718
  1. # cr16 testcase for lpr reg, preg
  2. # mach(): cr16
  3. .include "testutils.inc"
  4. start
  5. .global lpr
  6. lpr:
  7. movw $0x1234,r3
  8. lpr r3, psr
  9. spr psr,r5
  10. test_h_gr r5, 0x1234
  11. pass