2014-06-26 17:39:02 +02:00
|
|
|
module Virtual
|
2014-06-25 01:47:59 +02:00
|
|
|
|
|
|
|
# Instruction is an abstract for all the code of the object-machine. Derived classe make up the actual functionality
|
|
|
|
# of the machine.
|
|
|
|
# All functions on the machine are captured as instances of instructions
|
2014-06-26 17:39:02 +02:00
|
|
|
#
|
|
|
|
# It is actully the point of the virtual machine layer to express oo functionality in the set of instructions, thus
|
|
|
|
# defining a minimal set of instructions needed to implement oo.
|
|
|
|
|
|
|
|
# This is partly because jumping over this layer and doing in straight in assember was too bi a step
|
2014-06-25 01:47:59 +02:00
|
|
|
class Instruction
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|