class Symbol

Public Instance Methods

to_label(program) click to toggle source

Allows to use Symbols instead of labels in some situations. Example:

loop1 add [hl]
      inc hl
      jr NC, :loop1
# File lib/z80/labels.rb, line 8
def to_label(program)
        program.define_label self
end