add.cgs 176 B

12345678910111213141516
  1. # m32r testcase for add $dr,$sr
  2. # mach(): m32r m32rx
  3. .include "testutils.inc"
  4. start
  5. .global add
  6. add:
  7. mvi_h_gr r4, 1
  8. mvi_h_gr r5, 2
  9. add r4, r5
  10. test_h_gr r4, 3
  11. pass