x86-64 icon indicating copy to clipboard operation
x86-64 copied to clipboard

Missing instructions

Open tittoassini opened this issue 9 years ago • 4 comments

Many X64 instructions are unsupported: BSWAP, Bit and string operations, etc.

Not a criticism :-), just a remark so that potential users are aware of the issue.

I wished I could add them myself but .. I am just too unfamiliar with X86 assembler.

tittoassini avatar Oct 22 '16 08:10 tittoassini

Thanks. Could you give a list of instructions which is essential for you?

divipp avatar Oct 24 '16 08:10 divipp

Thanks for asking!

For the code I am writing right now (a pattern matcher), I would need: BSWAP, BT, BSF, BSR.

For some other code that I might be working on soon (a binary encoder/decoder) I guess that I will also need the string instructions (MOVS,CMPS,SCAS..), the type conversion instructions and the table lookup instructions.

Thanks again for making your code available.

tittoassini avatar Oct 24 '16 09:10 tittoassini

I added support for BSWAP, BSF, BSR and partial support for BT. Immediate operands for BT is not yet supported, I have to think about it a bit (regarding the instruction type in Haskell).

divipp avatar Oct 25 '16 10:10 divipp

excellent, thanks!

tittoassini avatar Oct 25 '16 12:10 tittoassini