These instructions set various flags. STC sets the carry flag;
STD sets the direction flag; and STI sets the interrupt flag
(thus enabling interrupts).
To clear the carry, direction, or interrupt flags, use the CLC,
CLD and CLI instructions (CLC). To invert the carry
flag, use CMC (CMC).