2018-03-15 20:33:38 +05:30
|
|
|
# The *essential* step from vool to risc, is the one from a language to a machine.
|
|
|
|
# From vools statements that hang in the air, to an instruction set.
|
2018-03-13 16:51:33 +05:30
|
|
|
#
|
2018-03-15 20:33:38 +05:30
|
|
|
# ### List based: Bit like Risc, just no registers
|
2017-04-10 11:47:18 +03:00
|
|
|
#
|
|
|
|
# ### Use object memory : object to object transfer + no registers
|
|
|
|
#
|
|
|
|
# ### Instruction based
|
|
|
|
#
|
2018-03-15 20:33:38 +05:30
|
|
|
# So a machine rather than a language. No control structures, but compare and jump instructions.
|
2017-04-10 11:47:18 +03:00
|
|
|
# No send or call, just objects and jump.
|
|
|
|
# Machine capabilities (instructions) for basic operations. Use of macros for higher level.
|
|
|
|
|
|
|
|
module Mom
|
|
|
|
end
|
|
|
|
|
2018-03-13 16:57:24 +05:30
|
|
|
require_relative "instruction/instruction.rb"
|