class N65::InstructionBase
Public Class Methods
parse(line)
click to toggle source
Sort of a “pure virtual” class method, not really tho.
# File lib/n65/instruction_base.rb, line 9 def self.parse(line) fail(NotImplementedError, "#{self.class.name} must implement self.parse") end
Public Instance Methods
exec(assembler)
click to toggle source
Another method subclasses will be expected to implement
# File lib/n65/instruction_base.rb, line 23 def exec(assembler) fail(NotImplementedError, "#{self.class.name} must implement exec") end
unresolved_symbols?()
click to toggle source
Does this instruction have unresolved symbols?
# File lib/n65/instruction_base.rb, line 16 def unresolved_symbols? false end