diff --git a/lib/emits_bytes.rb b/lib/emits_bytes.rb new file mode 100644 index 0000000..19582ee --- /dev/null +++ b/lib/emits_bytes.rb @@ -0,0 +1,14 @@ + +module Assembler6502 + + #### + ## This is a base class for anything which can emit bytes + class EmitsBytes + + def emit_bytes + fail(NotImplementedError, "#{self.class} must implement emit_bytes") + end + + end + +end