small doc

This commit is contained in:
Torsten Ruger
2014-04-16 12:45:36 +03:00
parent 8e0494f410
commit a7af1a4664
2 changed files with 53 additions and 1 deletions

View File

@ -1,6 +1,6 @@
module Asm
module Arm
module Asm::Arm::InstructionTools
module InstructionTools
def reg_ref(arg)
if (not arg.is_a?(Asm::RegisterArgNode))
raise Asm::AssemblyError.new('argument must be a register', arg)