start work on word/long handling

This commit is contained in:
Quentin Carbonneaux 2015-08-01 18:17:06 -04:00
parent dff7044a2c
commit cf307002d9
14 changed files with 114 additions and 81 deletions

View file

@ -1,13 +1,13 @@
@start
%x = copy 1
%x =w copy 1
@loop
jez %x, @isz, @noz
@noz
%x = copy 0
%x =w copy 0
jez %x, @end, @loop
@isz
%x = copy 1
%x =w copy 1
jmp @loop
@end
%z = add 10, %x
%z =w add 10, %x
ret