8080 vs 8086 flags
From: Joseph James Gebis (gebis_at_CS.Berkeley.EDU)
Date: 03/26/04
- Next message: Jim Carlock: "Adding a public function to a DLL"
- Previous message: Ole Nielsby: "Re: newbie about winAPI"
- Next in thread: Jack Klein: "Re: 8080 vs 8086 flags"
- Reply: Jack Klein: "Re: 8080 vs 8086 flags"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Mar 2004 01:23:25 +0000 (UTC)
I'm looking at an old article from IEEE Computer (The October 1980 issue).
The article is "Intel Microprocessors - 8008 to 8086" by Morse, Ravenel,
Mazor, and Pohlman. It includes this:
==
The 8080 treats the collection of all its flags as a single data item
that can be pushed on or popped off the stack. The 8086's flag transfer
instructions permit the collection of all the flags to be loaded or stored
as well. However, these load and store operations involve only the flags
that already exist in the 8080. This is a concession to compatibility
(without these operations, it would take nine 8086 bytes of code to
perform an 8080 PUSH PSW or POP PSW instruction).
==
I'm not quite sure I follow that. The 8086 had pushf and popf, right?
What is the "nine 8086 bytes of code to perform an 8080 PUSH PSW"
referring to?
- Next message: Jim Carlock: "Adding a public function to a DLL"
- Previous message: Ole Nielsby: "Re: newbie about winAPI"
- Next in thread: Jack Klein: "Re: 8080 vs 8086 flags"
- Reply: Jack Klein: "Re: 8080 vs 8086 flags"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]