0
Decode an 8086 MOD R/M
code-golfbitwiseparsing
I think this might be fun. Or, it might be torture, idk. 😛 If this is popular, I might add a sequel for the significantly more complex 32-bit encoding 😏
Time for a mini objdump.
An 8086 MOD R/M field is laid out like so:
MOD REG R/M | OPTIONAL D...