addb.cgs 179 B

12345678910111213141516
  1. # cr16 testcase for addb $sr, reg
  2. # mach(): cr16
  3. .include "testutils.inc"
  4. start
  5. .global add
  6. add:
  7. movb $0x1234,r4
  8. movb $0x1234,r5
  9. addb r4, r5
  10. test_h_gr r5, 0x68
  11. pass