summaryrefslogtreecommitdiff
path: root/py/emitnxtensa.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/emitnxtensa.c')
-rw-r--r--py/emitnxtensa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/py/emitnxtensa.c b/py/emitnxtensa.c
index 89ecb34de..34089e90d 100644
--- a/py/emitnxtensa.c
+++ b/py/emitnxtensa.c
@@ -8,8 +8,10 @@
#define GENERIC_ASM_API (1)
#include "py/asmxtensa.h"
-// Word index of REG_LOCAL_1(=a12) in nlr_buf_t
-#define NLR_BUF_IDX_LOCAL_1 (8)
+// Word indices of REG_LOCAL_x in nlr_buf_t
+#define NLR_BUF_IDX_LOCAL_1 (8) // a12
+#define NLR_BUF_IDX_LOCAL_2 (9) // a13
+#define NLR_BUF_IDX_LOCAL_3 (10) // a14
#define N_XTENSA (1)
#define EXPORT_FUN(name) emit_native_xtensa_##name