emitnthumb.c 312 B

123456789101112131415
  1. // thumb specific stuff
  2. #include "py/mpconfig.h"
  3. #if MICROPY_EMIT_THUMB
  4. // this is defined so that the assembler exports generic assembler API macros
  5. #define GENERIC_ASM_API (1)
  6. #include "py/asmthumb.h"
  7. #define N_THUMB (1)
  8. #define EXPORT_FUN(name) emit_native_thumb_##name
  9. #include "py/emitnative.c"
  10. #endif