![]() |
Routines |
| Prev: BD13 | Up: Map | Next: BD3A |
|
Waits for a while. The time is about B times the number of times that HL can be counted down to zero, which is 10000 if it starts as zero.
|
||||||||||
| Delay | BD32 | DEC HL | Count down HL until it reaches zero. | |||||||
| BD33 | LD A,L | |||||||||
| BD34 | OR H | |||||||||
| BD35 | JR NZ,Delay | |||||||||
| BD37 | DJNZ Delay | Loop back until the wait has been repeated B times. | ||||||||
| BD39 | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: BD13 | Up: Map | Next: BD3A |