![]() |
Routines |
Prev: 27404 | Up: Map |
|
||||||||||
27410 | LD HL,(31847) | Pick up the address of the next pseudo-random number. | ||||||||
27413 | LD A,(HL) | Copy the number to A. | ||||||||
27414 | PUSH AF | Save the number briefly. | ||||||||
27415 | INC HL | Increment the address, rolling over from 8191 to 0. | ||||||||
27416 | LD A,H | |||||||||
27417 | AND 31 | |||||||||
27419 | LD H,A | |||||||||
27420 | LD (31847),HL | Save the new address. | ||||||||
27423 | POP AF | Restore the pseudo-random number to A. | ||||||||
27424 | RET |
Prev: 27404 | Up: Map |