bcc.cgs 230 B

12345678910111213141516171819202122
  1. # cr16 testcase for beq disp16
  2. # mach(): cr16
  3. .include "testutils.inc"
  4. start
  5. .global beq
  6. beq:
  7. mvi_h_condbit 0
  8. movw $12, r4
  9. movw $10, r5
  10. cmpw r4, r5
  11. bcc ok
  12. not_ok:
  13. fail
  14. ok:
  15. movw $11, r5
  16. cmpw r4, r5
  17. beq not_ok
  18. pass