| Entry | |
|---|---|
| R0 | EOR mask |
| R1 | AND mask |
| Exit | |
|---|---|
| R0 | Old speed value |
| R1 | New speed value |
The purpose of this call is to set the processor speed.
The new speed is set as:
New value = (old speed AND R2) EOR R1
Currently supported speed settings are:
| 0 | Fast |
| 1 | Slow |
Some hardware allows programs to exert more control over the CPU speed by SWI Portable_Speed2 to specify what clock rates the ‘slow’ and ‘fast’ speed settings equate to.