PFS122
8bit MTP MCU with 12-bit R-Type ADC
7.9. Summary of affected flags by Instructions
Instruction
mov a, I
Z
-
C
-
AC OV Instruction
Z
-
C
-
AC OV Instruction
Z
Y
-
C
-
AC OV
-
-
-
-
mov M, a
mov IO, a
idxm a, index
pushaf
-
-
-
-
mov a, M
ldt16 word
idxm index, a
popaf
-
-
-
-
mov a, IO
stt16 word
Y
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
xch
M
-
-
-
-
-
-
-
-
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
-
add a, I
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
-
add a, M
addc M, a
nadd a, M
sub a, M
subc M, a
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
-
Y
Y
Y
Y
Y
Y
-
add M, a
addc a, M
addc
a
addc
M
nadd M, a
sub a, I
sub M, a
subc a, M
subc
dec
src
a
subc
clear
M
M
inc
sr a
src
sl
M
M
a
sr
M
-
Y
Y
-
-
M
-
-
sl
a
-
-
-
slc
a
-
-
-
-
-
M
-
-
-
-
slc
and
M
-
-
-
swap
and
a
-
-
-
and
a, I
Y
Y
Y
Y
Y
Y
-
-
a, M
Y
Y
-
-
-
M, a
Y
Y
Y
Y
Y
-
-
or a, I
-
-
-
-
-
or a, M
-
-
-
or M, a
xor
xor
neg
a, I
-
-
xor
not
neg
IO, a
-
-
-
xor
not
a, M
M, a
a
-
-
a
Y
Y
-
-
-
M
-
-
Y
-
-
Y
-
-
-
M
-
-
-
-
comp a, M
set1 IO.n
Y
comp M, a
set0 M.n
Y
-
Y
-
Y
-
set0 IO.n
set1 M.n
ceqsn a, M
t0sn IO.n
t1sn M.n
-
-
-
-
swapc IO.n
cneqsn a,M
t1sn IO.n
-
Y
Y
-
-
ceqsn a, I
cneqsn a, I
t0sn M.n
Y
Y
-
Y
Y
-
Y
Y
-
Y
Y
-
Y
-
Y
-
Y
Y
Y
Y
-
Y
-
-
-
-
Y
-
-
Y
-
izsn
dzsn
ret
a
Y
Y
-
Y
Y
-
Y
Y
-
Y
Y
-
dzsn
call
a
Y
Y
Y
Y
izsn
M
Y
-
Y
-
M
label
goto label
reti
I
ret
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
nop
-
-
-
-
pcadd
a
engint
-
-
-
-
disgint
reset
-
-
-
-
stopsys
wdreset
stopexe
-
-
-
-
-
-
-
-
7.10. BIT definition
Bit access of RAM is only available for address from 0x00 to 0x7F.
©Copyright 2020, PADAUK Technology Co. Ltd
Page 86 of 93
PDK-DS-PFS122-EN_V000-May 28, 2020