-
Notifications
You must be signed in to change notification settings - Fork 2
PM_Opc_STOP
Jose I Romero edited this page Dec 6, 2019
·
1 revision
== STOP = Stop CPU ==
Hex | Mnemonic | Cycles |
---|---|---|
CE AF | STOP | 8 |
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 STOP directly, let BIOS to handle the shutdown by using "CINT $24".
None
; STOP instruction isn't recommended to use.
; Use this code to shutdown your program:
CINT`` ``$24