lib/metasm/ia32/main.rb in metasm-1.0.0 vs lib/metasm/ia32/main.rb in metasm-1.0.1

- old
+ new

@@ -76,9 +76,14 @@ # control register (cr0, cr2, cr3, cr4) and theoretical cr1/5/6/7 class CtrlReg < Argument simple_map((0..7).map { |i| [i, "cr#{i}"] }) end + # test registers (tr0..tr7) (undocumented) + class TstReg < Argument + simple_map((0..7).map { |i| [i, "tr#{i}"] }) + end + # floating point registers class FpReg < Argument simple_map((0..7).map { |i| [i, "ST(#{i})"] } << [nil, 'ST']) end