Fix parfait bug for word_length

This commit is contained in:
Torsten Ruger
2015-06-24 16:08:06 +03:00
parent 59188105ba
commit cedc6e1b61
4 changed files with 15 additions and 8 deletions

View File

@ -4,8 +4,8 @@ module Arm
def initialize to , from , options = {}
super(options)
@to = to
@from = from
@to = to
raise "move must have from set #{inspect}" unless from
@attributes[:update_status] = 0 if @attributes[:update_status] == nil
@attributes[:condition_code] = :al if @attributes[:condition_code] == nil