diff options
| author | 2023-02-18 16:05:09 +0000 | |
|---|---|---|
| committer | 2023-02-18 16:05:09 +0000 | |
| commit | 48827c5b747eca6d56555f69cae37291feb5fcda (patch) | |
| tree | 063bc21af510fe961a7002678e0cdf9dbb8bc228 /creole.h | |
| parent | add data, remove labels and make jumps absolute (diff) | |
adjust python assembler to new API
Diffstat (limited to 'creole.h')
| -rw-r--r-- | creole.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,6 @@ enum creole_compiler_ret { CREOLE_LAST_MALFORMED, CREOLE_DATA_OVERFLOW, CREOLE_TYPE_ERROR, - CREOLE_COMPILE_CLEARED_INSTRUCTION, CREOLE_PROGRAM_OVERFLOW, CREOLE_COMPILE_RET_LEN }; @@ -114,6 +113,7 @@ enum creole_run_ret creole_reg_read(struct creole_env *env, unsigned reg, creole_word *w); enum creole_run_ret creole_push(struct creole_env *env, creole_word w); enum creole_run_ret creole_pop(struct creole_env *env, creole_word *w); +int creole_jump(struct creole_env *env, creole_word off); enum creole_run_ret creole_step(struct creole_env *env, creole_word *sc); #endif /* CREOLE_H */ |
