aboutsummaryrefslogtreecommitdiff
path: root/py/asmthumb.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-30 23:31:17 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-30 23:31:17 +1000
commit87231132d451e7413dbb97cae74d89721c41634b (patch)
treebbfcfbfee7b7ef664ef98b7d3c092d464881d161 /py/asmthumb.h
parentef9394e76ad35c37014d3ccfb81ffa4cd200961f (diff)
py/asmthumb: Extend asm entry/exit to handle stack larger than 508 bytes
Diffstat (limited to 'py/asmthumb.h')
-rw-r--r--py/asmthumb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/asmthumb.h b/py/asmthumb.h
index eabbc59a9..83aec0287 100644
--- a/py/asmthumb.h
+++ b/py/asmthumb.h
@@ -46,6 +46,7 @@
#define ASM_THUMB_REG_R13 (13)
#define ASM_THUMB_REG_R14 (14)
#define ASM_THUMB_REG_R15 (15)
+#define ASM_THUMB_REG_SP (ASM_THUMB_REG_R13)
#define ASM_THUMB_REG_LR (REG_R14)
#define ASM_THUMB_CC_EQ (0x0)