1 | // ARM specific stuff |
---|---|
2 | |
3 | #include "py/mpconfig.h" |
4 | |
5 | #if MICROPY_EMIT_ARM |
6 | |
7 | // This is defined so that the assembler exports generic assembler API macros |
8 | #define GENERIC_ASM_API (1) |
9 | #include "py/asmarm.h" |
10 | |
11 | // Word indices of REG_LOCAL_x in nlr_buf_t |
12 | #define NLR_BUF_IDX_LOCAL_1 (3) // r4 |
13 | #define NLR_BUF_IDX_LOCAL_2 (4) // r5 |
14 | #define NLR_BUF_IDX_LOCAL_3 (5) // r6 |
15 | |
16 | #define N_ARM (1) |
17 | #define EXPORT_FUN(name) emit_native_arm_##name |
18 | #include "py/emitnative.c" |
19 | |
20 | #endif |
21 |