1
0
mirror of https://github.com/safiire/n65.git synced 2024-06-11 07:29:27 +00:00
n65/lib/n65/instruction_base.rb

18 lines
361 B
Ruby
Raw Normal View History

2020-08-30 19:36:50 +00:00
# frozen_string_literal: true
2015-03-29 17:19:19 +00:00
module N65
class InstructionBase
2020-08-30 19:36:50 +00:00
def self.parse(_line)
raise(NotImplementedError, "#{self.class.name} must implement #{__method__}")
end
def exec(_assembler)
raise(NotImplementedError, "#{self.class.name} must implement #{__method__}")
end
def unresolved_symbols?
false
end
end
end