diff options
Diffstat (limited to 'tnslc/compile/isa_x86.tnsl')
-rw-r--r-- | tnslc/compile/isa_x86.tnsl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tnslc/compile/isa_x86.tnsl b/tnslc/compile/isa_x86.tnsl index e11311a..ee5bf27 100644 --- a/tnslc/compile/isa_x86.tnsl +++ b/tnslc/compile/isa_x86.tnsl @@ -52,10 +52,18 @@ ;return construct_statement("\tcmp ", {a, b}) ;/ +/; mov_asm ({}charp a, b) [{}charp] + ;return construct_statement("\tmov ", {a, b}) +;/ + /; jmp_asm ({}charp pos) [{}charp] ;return construct_statement("\tjmp ", {pos}) ;/ +/; call_asm ({}charp pos) [{}charp] + ;return construct_statement("\tcall ", {pos}) +;/ + /; cjmp_asm ({}charp suffix, pos) [{}charp] ;{}charp p = "\tj" ;add_strings(~p, ~suffix) |