| Hex | Mnemonic | Cycles |
|---|---|---|
| CE AF | SLP | 2 |
See description.
Halt or disable most hardware until a interrupt is requested.
Used by BIOS to set the system in standby mode.
NOTE: Almost all hardware gets disabled (CPU, LCD, Sound…). If no interrupts are enabled, the system will be unable to resume operation. Never call SLP directly, let BIOS to handle the shutdown by using “INT [48h]”.
None
; SLP instruction isn't recommended to use.
; Use this code to shutdown your program:
INT [48h]