![]() |
Routines |
| Prev: 52814 | Up: Map | Next: 52832 |
|
Fills an area of memory with zero. The entry point at FillMemory_WithValue fills it with the byte in E.
|
||||||||||
| FillMemory | 52822 | LD E,0 | Set E to 0. | |||||||
|
This entry point is used by the routines at ClearAttributes and ClearScreenBuffer.
|
||||||||||
| FillMemory_WithValue | 52824 | LD (HL),E | Write E. | |||||||
| 52825 | INC HL | Increment HL. | ||||||||
| 52826 | DEC BC | Decrement BC. | ||||||||
| 52827 | LD A,B | Jump to FillMemory_WithValue if BC is not zero. | ||||||||
| 52828 | OR C | |||||||||
| 52829 | JR NZ,FillMemory_WithValue | |||||||||
| 52831 | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: 52814 | Up: Map | Next: 52832 |