Mnemonic
Symbolic
Operation

S
Z F5 H F3 P/V N C Opcode
76-543-210

Hex

Bytes

M's

T's

Comments
CCF CY := !CY . . ~1 ~2 ~1 . 0 ~ 00-111-111 3F 1 1 4 Complement carry flag.
SCF CY := 1 . . ~1 0 ~1 . 0 1 00-110-111 37 1 1 4
DI3 IFF.1 := 0
IFF.2 := 0
. . . . . . . . 11-110-011 F3 1 1 4
EI3 IFF.1 := 1
IFF.2 := 1
. . . . . . . . 11-111-011 FB 1 1 4
IM 04 Set interrupt mode 0 . . . . . . . . 11-101-101
01-000-110
ED
46
2 2 8
IM 14 Set interrupt mode 1 . . . . . . . . 11-101-101
01-010-110
ED
56
2 2 8
IM 24 Set interrupt mode 2 . . . . . . . . 11-101-101
01-011-110
ED
5E
2 2 8
1