Instruction Set
4-31
CLI
Clear Interrupt-Enable Flag
CLI
What It Does
CLI clears the Interrupt-Enable Flag (IF), disabling all maskable interrupts.
Syntax
Description
CLI clears IF. Maskable external interrupts are not recognized at the end of the CLI
instruction—or from that point on—until IF is set.
Operation It Performs
Flag Settings After Instruction
Form
Opcode
Description
Clocks
Am186 Am188
CLI
FA
Clear Interrupt-Enable Flag (IF)
2
2
CLI
/* disable maskable interrupts */
IF = 0;
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Processor Status
Flags Register
reserved
OF DF
IF TF SF ZF
AF
PF
CF
? = undefined; – = unchanged
–
–
0
–
–
– res – res – res –
Summary of Contents for Am186 Series
Page 1: ...Am186 and Am188 Family Instruction Set Manual February 1997...
Page 10: ...Table of Contents x...
Page 18: ...Programming 1 8...
Page 40: ...Instruction Set Listing 3 14...