mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
23 lines
292 B
ArmAsm
23 lines
292 B
ArmAsm
|
;
|
||
|
; Marco van den Heuvel, 2018-03-28
|
||
|
;
|
||
|
; void slow (void);
|
||
|
; /* Switch the CPU into single clock mode. */
|
||
|
;
|
||
|
|
||
|
.export _slow
|
||
|
|
||
|
.include "plus4.inc"
|
||
|
|
||
|
|
||
|
.proc _slow
|
||
|
|
||
|
lda TED_CLK
|
||
|
ora #%00000010
|
||
|
sta TED_CLK
|
||
|
rts
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
|