rubyx/lib/register/builtin/word.rb
Torsten Ruger 1141ed9c99 type now means class name
update reader (with new type definition)
remove type class (now symbol)
update all types to class name symbols
2015-10-14 16:16:03 +03:00

15 lines
337 B
Ruby

module Register
module Builtin
module Word
module ClassMethods
def putstring context
function = Virtual::MethodSource.create_method(:Word,:Integer , :putstring , [] )
Kernel.emit_syscall( function , :putstring )
function
end
end
extend ClassMethods
end
end
end