jez becomes jnz, complete cmp+jmp contraction

This commit is contained in:
Quentin Carbonneaux 2015-08-07 16:01:07 -04:00
parent ad012e9d55
commit e65a615c90
12 changed files with 77 additions and 75 deletions

View file

@ -1,10 +1,10 @@
@start
%x =w copy 1
@loop
jez %x, @isz, @noz
jnz %x, @noz, @isz
@noz
%x =w copy 0
jez %x, @end, @loop
jnz %x, @loop, @end
@isz
%x =w copy 1
jmp @loop