rubyx/lib/register/register.rb
Torsten Ruger 50da6a40f2 Move the Main instruction from register to virtual
also needs a branch in register.
This way the register level is self sufficient
(noticed while writing debugger)
2015-07-17 13:21:57 +03:00

14 lines
620 B
Ruby

require_relative "instruction"
require_relative "register_reference"
require_relative "assembler"
require_relative "passes/main_implementation"
require_relative "passes/frame_implementation"
require_relative "passes/message_implementation"
require_relative "passes/set_implementation"
require_relative "passes/return_implementation"
require_relative "passes/call_implementation"
# So the memory model of the machine allows for indexed access into an "object" .
# A fixed number of objects exist (ie garbage collection is reclaming, not destroying and
# recreating) although there may be a way to increase that number.