A c++20 constexpr x86 assembler
- Learning x86 assembly encoding in a practical and fun way
- Having an easy framework to generate assembly instruction at compile time
See examples folder.
- Add it to the instruction db file (to the
instdb,prefix_dbandprefix_0fdbarrays) - Code the encoder in
encoder.hppor add it to an existing encoder if applicable. - Add a test file =)
No extension set is currently being supported, only a subset of x86 instructions is currently being implemented. SIB (Scale Index Base) byte is not fully implemented yet
- Implement jcc and jmp instructions
- Godbolt for prototyping
- Intel x86-64 manual
- Defuse.ca for verifying outputs
- Geek ABC reference
- People who answered my questions about c++20