KS57C2308/P2308/C2316/P2316SAM47 INSTRUCTION SET

DI — Disable Interrupts

DI

 

 

 

 

 

 

 

 

 

Operation:

Operand

Operation Summary

Bytes

Cycles

 

 

 

 

 

 

Disable all interrupts

2

2

 

 

 

 

 

Description: Bit 3 of the interrupt priority register IPR, IME, is cleared to logic zero, disabling all interrupts. Interrupts can still set their respective interrupt status latches, but the CPU will not directly service them.

Operand

 

 

 

Binary Code

 

 

 

Operation Notation

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

 

1

1

 

1

1

0

IME 0

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

 

1

0

 

0

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

Example: If the IME bit (bit 3 of the IPR) is logic one (e.g., all instructions are enabled), the instruction

DI

sets the IME bit to logic zero, disabling all interrupts.

5-51

Page 125
Image 125
Samsung KS57C2308 manual DI Disable Interrupts