rubyx/lib/register/builtin/word.rb

15 lines
333 B
Ruby
Raw Normal View History

module Register
module Builtin
module Word
module ClassMethods
def putstring context
2015-09-23 17:35:37 +02:00
function = Virtual::MethodSource.create_method(:Word,:int , :putstring , [] )
Kernel.emit_syscall( function , :putstring )
function
end
end
extend ClassMethods
end
end
end