split create_binary into two phases
Which gives instructions a chance to check everything and in Arms case check the constant loads/ instruction adding So that during assembly no more change happens (and we don't have to reassemble)
This commit is contained in:
@@ -37,6 +37,10 @@ module Risc
|
||||
ret
|
||||
end
|
||||
|
||||
# just part of the protocol, noop in this case
|
||||
def precheck
|
||||
end
|
||||
|
||||
def to_cpu( translator )
|
||||
translator.translate( self )
|
||||
end
|
||||
|
Reference in New Issue
Block a user