sorting mom instructions and statements into separate dirs
This commit is contained in:
14
lib/mom/instruction/jump.rb
Normal file
14
lib/mom/instruction/jump.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
module Mom
|
||||
|
||||
# unconditional jump to the instruction given as target
|
||||
#
|
||||
class Jump < Instruction
|
||||
attr_reader :target
|
||||
|
||||
def initialize(target)
|
||||
@target = target
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
Reference in New Issue
Block a user