diff options
author | Damien George <damien@micropython.org> | 2022-05-20 14:30:09 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-05-23 14:21:14 +1000 |
commit | 94ae0231367fe9a63aed10564084ac7d84089216 (patch) | |
tree | b4476edd881494d74d26698b9786304f67559fe8 /py/asmthumb.h | |
parent | 689138d484dce1e41720c73b1bba3f2758a39c57 (diff) |
py/asmthumb: Add asm_thumb_ldrh_reg_reg_i12_optimised() helper func.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/asmthumb.h')
-rw-r--r-- | py/asmthumb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/asmthumb.h b/py/asmthumb.h index 6648a80fb..3ef0eb443 100644 --- a/py/asmthumb.h +++ b/py/asmthumb.h @@ -328,6 +328,7 @@ void asm_thumb_mov_reg_local_addr(asm_thumb_t *as, uint rlo_dest, int local_num) void asm_thumb_mov_reg_pcrel(asm_thumb_t *as, uint rlo_dest, uint label); void asm_thumb_ldr_reg_reg_i12_optimised(asm_thumb_t *as, uint reg_dest, uint reg_base, uint word_offset); // convenience +void asm_thumb_ldrh_reg_reg_i12_optimised(asm_thumb_t *as, uint reg_dest, uint reg_base, uint uint16_offset); // convenience void asm_thumb_b_label(asm_thumb_t *as, uint label); // convenience: picks narrow or wide branch void asm_thumb_bcc_label(asm_thumb_t *as, int cc, uint label); // convenience: picks narrow or wide branch |