1981 | OriginalPaper | Buchkapitel
Flags, conditional jumps and the CP instruction
verfasst von : Roger Hutty
Erschienen in: Z80 Assembly Language Programming for Students
Verlag: Macmillan Education UK
Enthalten in: Professional Book Archive
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
The Z80 has an 8-bit flag register which is used to contain information regarding the result produced by the last executed instruction. In fact, only six of the eight bits are used as follows The SIGN FLAG is set to 1 if the result produced by an instruction is negative, otherwise the flag is reset to 0. For example, after execution of the instructions the accumulator will contain −33 and the sign flag will be set to 1.