Shibuya.lisp Tech Talk #4 LTçºè¡¨è³æ ããã家ã«å¸°ã£ããSchemeã®ã³ã¼ãæ¸ãã¦ã¿ããã æ°ä»ããã Ruby 使ã£ã¦ãï¼ Lisp ãçããããé¨å ã¢ã»ã³ãã©ãï¼³å¼ã§ã ã¢ã»ã³ãã©ããã¯ã ããã¯ææ¦ã¨è¦ãï¼(é ã¨ãããã㧠Ruby 㧠CPUIDã è¦ RXbyak ææ°ç( http://github.com/shuyo/cpp/tree/master/rxbyak/ )ã require 'RXbyak' def get_cpuid(reg) rx = RXbyak.new rx.push :ebx rx.mov :eax, [:esp, 8] rx.cpuid rx.mov :eax, reg rx.pop :ebx rx.ret rx end ca = get_cpuid(:eax) cb = get_cpuid(:ebx) cc = get
{{#tags}}- {{label}}
{{/tags}}