![]() |
Routines |
| Prev: 32948 | Up: Map | Next: 32962 |
|
Used by the routine at ResetAttributes.
Writes a single byte to memory from the target address, up to (but not including) the first address whose high byte is the end value.
|
||||||||||||
| ResetCopier | 32955 | LD (HL),C | Write the fill value to the byte at the target address. | |||||||||
| 32956 | INC HL | Move on to the next address. | ||||||||||
| 32957 | LD A,H | Loop back to ResetCopier until the target address has reached the end address. | ||||||||||
| 32958 | CP B | |||||||||||
| 32959 | JR NZ,ResetCopier | |||||||||||
| 32961 | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: 32948 | Up: Map | Next: 32962 |