26 #ifndef MICROPY_INCLUDED_PY_ASMBASE_H 27 #define MICROPY_INCLUDED_PY_ASMBASE_H 32 #define MP_ASM_PASS_COMPUTE (1) 33 #define MP_ASM_PASS_EMIT (2) 53 static inline size_t mp_asm_base_get_code_pos(
mp_asm_base_t *as) {
57 static inline size_t mp_asm_base_get_code_size(
mp_asm_base_t *as) {
62 #if defined(MP_PLAT_COMMIT_EXEC) 69 #endif // MICROPY_INCLUDED_PY_ASMBASE_H uint8_t * mp_asm_base_get_cur_to_write_bytes(mp_asm_base_t *as, size_t num_bytes_to_write)
void mp_asm_base_label_assign(mp_asm_base_t *as, size_t label)
void mp_asm_base_init(mp_asm_base_t *as, size_t max_num_labels)
void mp_asm_base_align(mp_asm_base_t *as, unsigned int align)
void mp_asm_base_data(mp_asm_base_t *as, unsigned int bytesize, uintptr_t val)
void mp_asm_base_start_pass(mp_asm_base_t *as, int pass)
struct _mp_asm_base_t mp_asm_base_t
void mp_asm_base_deinit(mp_asm_base_t *as, bool free_code)