fix the load memory instruction

This commit is contained in:
Torsten Ruger
2014-06-01 22:06:59 +03:00
parent 31a55b07ac
commit 83d4ce55ca
2 changed files with 24 additions and 18 deletions

View File

@ -88,7 +88,7 @@ module Core
# make char out of digit (by using ascii encoding) 48 == "0"
b = utoa_function.body.scope binding
b.remainder = remainder + 48
b.strb( remainder, right: str_addr )
b.strb( remainder, str_addr )
b.sub( str_addr, str_addr , 1 )
b.cmp( number , 0 )
b.callne( utoa_function )