start work on word/long handling
This commit is contained in:
parent
dff7044a2c
commit
cf307002d9
14 changed files with 114 additions and 81 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue