fix the init also, was using first message twice

not advancing after first load
This commit is contained in:
Torsten Ruger
2018-04-07 00:14:02 +03:00
parent 3c90eb31c6
commit dd0d162ebf
5 changed files with 27 additions and 19 deletions

View File

@ -79,6 +79,7 @@ module Risc
instruction = instruction.next
end
end
# add a risc instruction after the current (insertion point)
# the added instruction will become the new insertion point
def add_code( instruction )