Zero Flag

From Intellivision Wiki

(Difference between revisions)
Jump to: navigation, search
m (edit for grammar)
m (duhrrr... stray character got in there)
Line 8: Line 8:
[[GSWD]]<br/><br/>
[[GSWD]]<br/><br/>
-
The following opcodes affect the value of the Zero Flag:1<br/><br/>
+
The following opcodes affect the value of the Zero Flag:<br/><br/>
[[INCR]]<br/>
[[INCR]]<br/>

Revision as of 23:13, 11 January 2005

The Zero Flag (Z) is set whenever the result of the previous operation resulted in a zero (0). The behavior of the following opcodes is affected by the value of the Zero Flag.

BEQ
BNEQ
BLE
BGT
GSWD

The following opcodes affect the value of the Zero Flag:

INCR
DECR
COMR
NEGR
ADCR
RSWD*
SWAP
SLL
RLC
SLLC
SLR
SAR
RRC
SARC
MOVR
ADDR
SUBR
CMPR
ANDR
XORR
ADD
ADD@
SUB
SUB@
CMP
CMP@
AND
AND@
XOR
XOR@

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox