summaryrefslogtreecommitdiff
path: root/py/asmarm.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-05-20 16:18:09 +1000
committerDamien George <damien@micropython.org>2022-05-23 14:21:16 +1000
commit8af5e2551fb2605c03e36400003feccb6d1acafd (patch)
tree9ab757be4fc84583f60f4d7c329c1287e857214b /py/asmarm.h
parent94ae0231367fe9a63aed10564084ac7d84089216 (diff)
py/asmarm: Add asm_arm_ldrh_reg_reg_offset() helper func.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/asmarm.h')
-rw-r--r--py/asmarm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/asmarm.h b/py/asmarm.h
index 0e029f20e..272684bc6 100644
--- a/py/asmarm.h
+++ b/py/asmarm.h
@@ -109,6 +109,7 @@ void asm_arm_asr_reg_reg(asm_arm_t *as, uint rd, uint rs);
// memory
void asm_arm_ldr_reg_reg(asm_arm_t *as, uint rd, uint rn, uint byte_offset);
void asm_arm_ldrh_reg_reg(asm_arm_t *as, uint rd, uint rn);
+void asm_arm_ldrh_reg_reg_offset(asm_arm_t *as, uint rd, uint rn, uint byte_offset);
void asm_arm_ldrb_reg_reg(asm_arm_t *as, uint rd, uint rn);
void asm_arm_str_reg_reg(asm_arm_t *as, uint rd, uint rm, uint byte_offset);
void asm_arm_strh_reg_reg(asm_arm_t *as, uint rd, uint rm);