add branch listener functionaliy

have to store the branches and loop again as labels
dont neccessarily have positions yet
This commit is contained in:
Torsten Ruger
2018-06-17 22:25:38 +03:00
parent 3298651238
commit 046617f8dc
6 changed files with 46 additions and 13 deletions

View File

@ -23,8 +23,8 @@ module Risc
end
alias :inspect :to_s
# if branch is implemented it must return the label it branches to
def branch
# if branch_to is implemented it must return the label it branches to
def branch_to
label
end
end