start BranchListener

but on hold, since it needs positions before we have them
Must create them during collection phase
This commit is contained in:
Torsten Ruger
2018-06-14 21:29:34 +03:00
parent eaaf61c117
commit 3cc9175efa
7 changed files with 48 additions and 6 deletions

View File

@ -23,6 +23,10 @@ module Risc
end
alias :inspect :to_s
# if branch is implemented it must return the label it branches to
def branch
label
end
end
# dynamic version of an Branch branch that jumps to the contents