require ‘metal’
class X defasm :superfast_meaning_of_life do |asm| asm.eax.mov 85 # (42 << 1) + 1 end end p X.new.superfast_meaning_of_life # => 42