Class: C8dasm::Commente

Inherits:
CommentBase show all
Defined in:
lib/c8dasm/comments/commente.rb

Instance Method Summary collapse

Methods inherited from CommentBase

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

Constructor Details

This class inherits a constructor from C8dasm::CommentBase

Instance Method Details

#to_sObject



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

def to_s
  if kk == 'a1'
    "Skip next inst. if V#{x} key is not pressed."
  elsif kk == '9e'
    "Skip next inst. if V#{x} key is pressed."
  end
end