Fix div10 and test

fix and use load_data (similar to load_constant)
and integrate into load_object when appropriate (ie for integers)
This commit is contained in:
2020-03-08 12:05:25 +02:00
parent bd02f69824
commit eed9ba082f
6 changed files with 85 additions and 45 deletions

View File

@ -12,7 +12,7 @@ module SlotMachine
transfer( integer_self , integer_1)
transfer( integer_self , integer_reg)
load_object( Parfait::Integer.new(1) , integer_const)
load_object( 1 , integer_const)
integer_1.op :>> , integer_const