diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-21 13:33:15 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-21 13:33:15 +0100 |
commit | e5f8a77db6b7328b9583cbd0fe6ac73535fca1a0 (patch) | |
tree | dc781d058bc820f6e9300bfe5ee56629c46f11f2 /py/asmthumb.h | |
parent | 764af4b7c585831afa4996c2cf371403330faa35 (diff) | |
download | micropython-e5f8a77db6b7328b9583cbd0fe6ac73535fca1a0.tar.gz micropython-e5f8a77db6b7328b9583cbd0fe6ac73535fca1a0.zip |
py: Add 'align' and 'data' meta-instructions to inline assembler.
Diffstat (limited to 'py/asmthumb.h')
-rw-r--r-- | py/asmthumb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/asmthumb.h b/py/asmthumb.h index ca81b847f4..d700e53279 100644 --- a/py/asmthumb.h +++ b/py/asmthumb.h @@ -55,6 +55,9 @@ void asm_thumb_exit(asm_thumb_t *as); void asm_thumb_label_assign(asm_thumb_t *as, uint label); +void asm_thumb_align(asm_thumb_t* as, uint align); +void asm_thumb_data(asm_thumb_t* as, uint bytesize, uint val); + // argument order follows ARM, in general dest is first // note there is a difference between movw and mov.w, and many others! |