Update descriptions of how flags are pushed/popped

Signed-off-by: ISSOtm <eldredhabert0@gmail.com>
This commit is contained in:
Eldred Habert
2018-06-05 16:08:56 +02:00
committed by ISSOtm
parent 11c47570ce
commit fac7247483

View File

@@ -1105,7 +1105,21 @@ Cycles: 3
.Pp
Bytes: 1
.Pp
Flags: None affected.
Flags:
.Bl -bullet -compact
.It
.Sy Z :
Set from bit 7 of the popped low byte.
.It
.Sy N :
Set from bit 6 of the popped low byte.
.It
.Sy H :
Set from bit 5 of the popped low byte.
.It
.Sy C :
Set from bit 4 of the popped low byte.
.El
.Ss POP r16
Pop register
.Ar r16
@@ -1119,7 +1133,15 @@ Flags: None affected.
.Ss PUSH AF
Push register
.Sy AF
into the stack.
into the stack. The low byte's bit 7 corresponds to the
.Sy Z
flag, its bit 6 to the
.Sy N
flag, bit 5 to the
.Sy H
flag, and bit 4 to the
.Sy C
flag. Bits 3 to 0 are reset.
.Pp
Cycles: 4
.Pp