![]() |
Routines |
| Prev: 55850 | Up: Map | Next: 55971 |
|
Busy-wait delay: outer loop of 10 iterations, inner loop of 0 (256 cycles) each. Stashes and restores BC.
|
||||
| Delay_Short | 55959 | PUSH BC | Stash BC on the stack. | |
| 55960 | LD C,10 | C=10 (outer loop counter). | ||
| Delay_Short_OuterLoop | 55962 | LD B,0 | Inner loop: spin B from 0 (256 iterations per pass). | |
| Delay_Short_InnerLoop | 55964 | DJNZ Delay_Short_InnerLoop | ||
| 55966 | DEC C | Decrease outer counter and loop back to Delay_Short_OuterLoop until zero. | ||
| 55967 | JR NZ,Delay_Short_OuterLoop | |||
| 55969 | POP BC | Restore BC from the stack. | ||
| 55970 | RET | Return. | ||
| Prev: 55850 | Up: Map | Next: 55971 |