![]()  | 
Routines | 
| Prev: 71B8 | Up: Map | Next: 71C6 | 
| 
 
Used by the routine at ResetAttributes.
 
  | 
||||||||||||
| ResetCopier | 71BF | LD (HL),C | Write C to the target address. | |||||||||
| 71C0 | INC HL | Increment the target address by one. | ||||||||||
| 71C1 | LD A,H | Are we finished yet? Check the MSB of the target vs. B. | ||||||||||
| 71C2 | CP B | |||||||||||
| 71C3 | JR C,ResetCopier | Keep looping back to ResetCopier until there is no carry-over. | ||||||||||
| 71C5 | RET | Return. | ||||||||||
| 
 
View the equivalent code in;  
  | 
||||||||||||
| Prev: 71B8 | Up: Map | Next: 71C6 |