![SunPlus CPU6502 Скачать руководство пользователя страница 9](http://html1.mh-extra.com/html/sunplus/cpu6502/cpu6502_instruction-manual_1399040009.webp)
S
un
pl
us
IT
C
on
fid
en
tia
l
F
or
A
D
D
In
te
rn
at
io
na
l L
im
ite
d
U
se
O
nl
y
CPU6502 Instruction Manual v2.1
Sunplus reserves the rights to change this documentation without prior notice.
09/13/2005
9
Status Register (P)
7 6 5 4 3 2 1
0
N V D I Z
C
Carry Flag
, If Carry flag is set, C=1
Zero Flag
, If arithmetic or logic operation
results to zero, Z is set to 1; otherwise,
Z=0
Interrupt Disable Flag
If interrupt disable flag is set, I=1, CPU will
ignore interrupt signal.
If interrupt disable flag is clear, I=0, CPU will
accept interrupt signal.
In CPU6502, this is Decimal Mode Flag
In CPU12, this bit is not used.
Not Used
Not Used
OverFlow Flag
If OverFlow is set, V=1
If OverFlow is clear, V=0
Negative Flag
If arithmetic or logic operation results to negative, N is
set to 1. otherwise, N=0.
* Note: Not all instructions affect Status Register. A detailed instruction description will be
discussed in later section.