![]() |
Routines |
| Prev: 55003 | Up: Map | Next: 55019 |
|
Fills an area of memory with zero. The entry point at FillMemory_WithValue fills it with the byte in E.
|
||||||||||
| FillMemory | 55009 | LD E,0 | Set E to 0. | |||||||
|
This entry point is used by the routine at SetAttributes.
|
||||||||||
| FillMemory_WithValue | 55011 | LD (HL),E | Write E. | |||||||
| 55012 | INC HL | Increment HL. | ||||||||
| 55013 | DEC BC | Decrement BC. | ||||||||
| 55014 | LD A,B | Jump to FillMemory_WithValue if BC is not zero. | ||||||||
| 55015 | OR C | |||||||||
| 55016 | JR NZ,FillMemory_WithValue | |||||||||
| 55018 | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: 55003 | Up: Map | Next: 55019 |