Hot answers tagged

23

I'm going to say "No" simply because the 8086 doesn't support the alternate registers of the Z80. That was a fairly important concept that you can not directly mimic on the 8086. Mind, if you're willing to dedicate memory and whatnot to support it, then, "sure". Replace the Z80 functionality with a macro, say. But now you're stretching it....


13

Sure, a lot can be done. Source code translation always offers the possibility to replace one instruction by a sequence - like Intel already did for a few. This would as well solve the issue of incompatible hardware, like simply exchanging all registers with a copy in memory when the alternate register set is selected. Just, who should do this? Intel had ...


4

First, note that although Intel claimed 8080-to-8086 asm source compatibility, their CONV86 was slow, cranky, and produced bloated code that often had outright errors. Converting from Z80 asm obviously inherits all the difficulties of 8080-to-8086 translation and adds more, which is why SCP's (later, Microsoft's) TRANS86 just attacked a tractable, human-...


Only top voted, non community-wiki answers of a minimum length are eligible