trying to fix the darn jump over object header

This commit is contained in:
Torsten Ruger
2018-05-25 19:03:46 +03:00
parent 8d8cc4b016
commit ddd408e245
3 changed files with 33 additions and 9 deletions

View File

@ -26,4 +26,14 @@ module Risc
end
end
#even less glue to get that last jump in there.
# So instructions don't run into the BinaryCode object header
class JumpWriter
def initialize( code )
@code = code
end
def write_unsigned_int_32( bin )
@code.set_word( 14 , bin )
end
end
end