-
Notifications
You must be signed in to change notification settings - Fork 2
PM_Opc_HALT
Jose I Romero edited this page Dec 6, 2019
·
1 revision
== HALT = Halt CPU ==
Hex | Mnemonic | Cycles |
---|---|---|
CE AE | HALT | 8 |
See description.
Halt the CPU until a interrupt is requested.
Using this instruction will reduce energy consumption.
NOTE: If no interrupts are enabled, the system will be unable to resume operation. Never call HALT in a middle of an interrupt. Code will resume after HALT when the requested interrupt is completed.
None
; Make sure interrupts are enabled and configured correctly.
HALT
; Operation will resume once the interrupt finish.