Class: C8dasm::Asme

Inherits:
AsmBase show all
Defined in:
lib/c8dasm/assemblies/asme.rb

Instance Method Summary collapse

Methods inherited from AsmBase

#initialize, #kk, #nnn, #x, #y

Constructor Details

This class inherits a constructor from C8dasm::AsmBase

Instance Method Details

#to_sObject



5
6
7
8
9
10
11
# File 'lib/c8dasm/assemblies/asme.rb', line 5

def to_s
  if kk == 'a1'
    "SKNP V#{x}"
  elsif kk == '9e'
    "SKP V#{x}"
  end
end