emitnarm.c 385 B

123456789101112131415161718
  1. // ARM specific stuff
  2. #include "py/mpconfig.h"
  3. #if MICROPY_EMIT_ARM
  4. // This is defined so that the assembler exports generic assembler API macros
  5. #define GENERIC_ASM_API (1)
  6. #include "py/asmarm.h"
  7. // Word indices of REG_LOCAL_x in nlr_buf_t
  8. #define NLR_BUF_IDX_LOCAL_1 (3) // r4
  9. #define N_ARM (1)
  10. #define EXPORT_FUN(name) emit_native_arm_##name
  11. #include "py/emitnative.c"
  12. #endif