Hacker News new | past | comments | ask | show | jobs | submit login

As for the mystery FF FF instruction, I think it jumps into "PUSH rm" and ends up pushing DI.

In other words, it seems that FF/6 (the normal "PUSH rm") and FF/7 (officially undefined) are aliases? The other notable anomaly is that 8F/1-7 are also officially undefined, while "POP rm" is at 8F/0.

Ignoring the 0F-prefixed ones (POP CS, everyone knows that one by now), there are some interesting gaps in the group table:

https://www.sandpile.org/x86/opc_grp.htm

Perhaps all those undefined opcodes could be worth writing another detailed article about, now that you've become familiar with how the instruction decoding works.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: