linker and collector test work again

had to give space a fixed number of addresses
This commit is contained in:
Torsten Ruger
2018-07-02 16:19:01 +03:00
parent 4e49c0469c
commit 474cd4b348
6 changed files with 12 additions and 15 deletions

View File

@ -25,7 +25,7 @@ module Risc
@cpu_init = cpu_init_init
end
attr_reader :constants
attr_reader :constants , :cpu_init
attr_reader :platform , :assemblers
# machine keeps a list of all objects and their positions.
@ -104,7 +104,6 @@ module Risc
def prerun
assemblers.each do |asm|
puts "method #{asm.method.name}"
asm.instructions.each {|i| i.precheck }
end
end