![]()  | 
Routines | 
| Prev: 48001 | Up: Map | Next: 48015 | 
| 
 
Used by the routine at ResetAttributes.
 
  | 
||||||||||||
| ResetCopier | 48008 | LD (HL),C | Write C to the target address. | |||||||||
| 48009 | INC HL | Increment the target address by one. | ||||||||||
| 48010 | LD A,H | Are we finished yet? Check the MSB of the target vs. B. | ||||||||||
| 48011 | CP B | |||||||||||
| 48012 | JR NZ,ResetCopier | Keep looping back to ResetCopier until there is no carry-over. | ||||||||||
| 48014 | RET | Return. | ||||||||||
| 
 
View the equivalent code in;  
  | 
||||||||||||
| Prev: 48001 | Up: Map | Next: 48015 |