diff --git a/lib/parfait/word.rb b/lib/parfait/word.rb index 8fbc6baf..19618e3f 100644 --- a/lib/parfait/word.rb +++ b/lib/parfait/word.rb @@ -68,6 +68,12 @@ module Parfait return true end + def is_value? + true + end + def to_sof + "Parfait::Word('#{to_s}')" + end def result= value raise "called" class_for(MoveInstruction).new(value , self , :opcode => :mov)