mirror of https://github.com/safiire/n65.git
18 lines
361 B
Ruby
18 lines
361 B
Ruby
# frozen_string_literal: true
|
|
|
|
module N65
|
|
class InstructionBase
|
|
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
|