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

I hadn't noticed that characteristic of 8F. Looking at the microcode, the subopcode bits are ignored, so I think your analysis is correct.

I agree that it's very weird that PUSH rm and POP rm are arranged completely differently. The obvious place to put POP would be in FF/7, especially since that spot is unused. I can't think of any reason why they wouldn't do that.




> Looking at the microcode, the subopcode bits are ignored, so I think your analysis is correct.

That's what Andrew Jenner's emulator code does.

https://github.com/reenigne/reenigne/blob/master/8088/xtce/x...

Line 3049.


The reason is that opcode FE/FF with a memory operand will always read it into the 'M' register, which would be unwanted for POP.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: