starting to clear up slots

mostly docs
This commit is contained in:
Torsten Ruger
2015-06-20 23:49:30 +03:00
parent 95bc824f9b
commit eeaf2d97de
7 changed files with 77 additions and 44 deletions

View File

@ -1,7 +1,7 @@
module Register
# load a constant into a register
#
# first arguemnt is the register the constant is loaded into
# first argument is the register the constant is loaded into
# second is the actual constant
class LoadConstant < Instruction

View File

@ -4,3 +4,7 @@ require_relative "assembler"
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.