iced
iced copied to clipboard
API to get register / mnemonic name
It'd be nice to have a fn name() -> &'static str API to convert Register::RAX into "rax".
The Debug trait works too, but is less efficient (calling format!() requires a memory alloc)
Would also be useful for Python, otherwise need to build your own lookup table from library constants