and.cgs 177 B

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