Skip to main content

Timeline for Z80 to x86 asm translator?

Current License: CC BY-SA 4.0

5 events
when toggle format what by license comment
Apr 20, 2021 at 8:57 vote accept Schezuk
Apr 20, 2021 at 8:15 history edited Toby Speight CC BY-SA 4.0
Spelling, grammar, clarity
Apr 14, 2021 at 22:41 comment added supercat I wonder how often the LAHF/PUSH AX represented the behavior that a program would actually need, and how often PUSHF/PUSH AX would be better despite the extra stack space. An interrupt handler that trashes AH would be highly disruptive, for example, unless none of the main line code used AH at all--not even as part of an LAHF/PUSH AX sequence.
Apr 14, 2021 at 13:28 comment added poncho "The idea was that you could translate 8080 to 8086, one instruction for one instruction" - not quite; there were a few 8080 instructions that translated into multiple 8086 instructions; for example, PUSH PSW -> LAHF; PUSH AX, and RZ -> JNZ skip; RET; skip:
Apr 14, 2021 at 4:08 history answered Will Hartung CC BY-SA 4.0