fix the gapping of instructions
so last binary stays empty and new starts at 8
This commit is contained in:
@ -56,6 +56,10 @@ module Risc
|
||||
listener.code
|
||||
end
|
||||
|
||||
def valid?
|
||||
@at != -1
|
||||
end
|
||||
|
||||
def set(int)
|
||||
return int if int == self.at
|
||||
Position.set_to(self , int)
|
||||
|
Reference in New Issue
Block a user