implement the div10 as assembler
easy after the some version worked because it’s not arm it probably twice as long as need be better (any?) optimisation would take care of that still, nice to see it works
This commit is contained in:
@ -156,7 +156,7 @@ module Register
|
||||
end
|
||||
|
||||
obj = @space.get_class_by_name(:Integer)
|
||||
[ :putint, :mod4].each do |f| #mod4 is just a forward declaration
|
||||
[ :putint, :mod4, :div10].each do |f| #mod4 is just a forward declaration
|
||||
obj.add_instance_method Builtin::Integer.send(f , nil)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user