CC change test fixes finished

This commit is contained in:
2019-08-23 19:25:02 +03:00
parent 4656ea8ffb
commit 86b27ab319
18 changed files with 181 additions and 173 deletions

View File

@ -42,7 +42,7 @@ module Risc
# how many instruction up until the main starts, ie
# ticks(main_at) will be the label for main
def main_at
13
14
end
def get_return
@ -115,7 +115,10 @@ module Risc
run_all
end
def run_all
@interpreter.tick while(@interpreter.instruction)
while(@interpreter.instruction)
@interpreter.tick
#puts @interpreter.instruction
end
@interpreter.clock
end