fix most mom and risc apart

apart from things involving builtn, which is not yet conceptually solved (as it codes risc, not mom)
This commit is contained in:
2019-08-10 21:30:00 +03:00
parent d5f89a4979
commit 213938075f
10 changed files with 43 additions and 21 deletions

View File

@ -38,7 +38,9 @@ module Mom
end
def to_risc( )
riscs = []
riscs = method_compilers.collect do | mom_c |
mom_c.to_risc
end
# to_risc all compilers
# for each suffling constnts and fist label, then all instructions (see below)
# then create risc collection