Created
July 20, 2010 03:04
-
-
Save nixeagle/482423 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; E means a r/m byte | |
| ;;; b means a byte regardless of operand code | |
| ;;; L means Lock prefix is valid | |
| ;;; r means r/m bit has part of the opcode | |
| ;;; d means bit 1 for direction is present | |
| ;;; w means bit 0 for operand size is present | |
| (binop add #x00 r (d w) | |
| (operand E b) (operand G b) | |
| (:x L) | |
| ;; arch defaults to *default-arch* which can be set in a (let ...) | |
| (:arch :x86) | |
| ;; instruction set if applicable. | |
| (:set :blah) | |
| (:groups general arithmatic binary) | |
| (:documentation "Some documentation....") | |
| (:cost "some assembler indication of cost, various papers I have | |
| researched give a general idea across several different x86 | |
| brands.")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment