macro.S 320 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
  3. *
  4. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
  5. * in this tarball.
  6. */
  7. .macro M_BEZ rx, label
  8. bez \rx, \label
  9. .endm
  10. .macro M_BNEZ rx, label
  11. bnez \rx, \label
  12. .endm
  13. .macro M_BNE rx, ry, label
  14. cmpne \rx, \ry
  15. bt \label
  16. .endm