[WIP] Add conditions
This commit is contained in:
parent
0530522847
commit
2e71d9e99e
10 changed files with 51 additions and 62 deletions
|
@ -14,9 +14,10 @@
|
|||
tlr CORE_REG_A
|
||||
.endmacro
|
||||
|
||||
.macro call_stack_jump, prep_call_stack_jump_arg_0_label, prep_call_stack_jump_arg_1_offset
|
||||
.std_rset CORE_REG_C, prep_call_stack_jump_arg_0_label
|
||||
.std_rset CORE_REG_D, (prep_call_stack_jump_arg_1_offset + 7)
|
||||
.macro call_stack_jump, call_stack_jump_arg_0_label
|
||||
.define call_stack_jump_local_offset, OFFSET
|
||||
.std_rset CORE_REG_C, call_stack_jump_arg_0_label
|
||||
.std_rset CORE_REG_D, (call_stack_jump_local_offset + 7)
|
||||
ts call_stack_jump
|
||||
tlr CORE_REG_PC
|
||||
.endmacro
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue