Handbook
Glossary
update-parity-flag ( result cpu -- )
Vocabulary
cpu
.
8080
.
emulator
Inputs
result
an
object
cpu
an
object
Outputs
None
Definition
USING:
kernel
math
;
IN:
cpu.8080.emulator
:
update-parity-flag
( result cpu -- )
swap
255
bitand
2
mod
0
=
[
parity-flag
set-flag
]
[
parity-flag
clear-flag
]
if
;