debugging binaries, initial jump issues

This commit is contained in:
Torsten Ruger
2018-04-30 13:28:55 +03:00
parent d84d208192
commit 1acd231a33
7 changed files with 37 additions and 14 deletions

View File

@ -57,7 +57,7 @@ module Risc
# add a constant (which get created during compilatio and need to be linked)
def add_constant(const)
raise "Must be Parfait #{const}" unless const.is_a?(Parfait::Object)
raise "Must be Parfait #{const}" unless const.is_a?(Parfait::Object)
@constants << const
end
# To create binaries, objects (and labels) need to have a position