fix positioning and the assembly works

This commit is contained in:
Torsten Ruger
2018-03-29 18:03:21 +03:00
parent 34b16a2332
commit e012f16d7f
6 changed files with 33 additions and 21 deletions

View File

@ -8,7 +8,7 @@ module Risc
class Assembler
include Logging
log_level :debug
log_level :info
MARKER = 0xA51AF00D
@ -35,7 +35,6 @@ module Risc
all.each do |objekt|
next if objekt.is_a?(Risc::Label)
log.debug "Linked #{objekt.class}:0x#{objekt.object_id.to_s(16)} at 0x#{Positioned.position(objekt).to_s(16)} / 0x#{objekt.padded_length.to_s(16)}"
Positioned.position(objekt)
end
end