mfld-fr / emu86

Intel IA16 emulator for embedded development
37 stars 6 forks source link

Add some 80186 instructions #28

Closed cocus closed 3 years ago

cocus commented 3 years ago

Adds ENTER, LEAVE and push imm16, all from 80186.

mfld-fr commented 3 years ago

Hello @cocus, useful change, and moreover coding style consistent. Thank you !

cocus commented 3 years ago

Nice! I forgot to mention that I did test this with my monitor test app that's compiled with ia16-gcc which uses enter and leave heavily when using -O1, and works a treat. I've used the pseudocode definition of these operations (found on the official docs) as a base for the code