![]() |
Routines |
| Prev: CE4E | Up: Map | Next: CE60 |
|
Fills an area of memory with zero. The entry point at FillMemory_WithValue fills it with the byte in E.
|
||||||||||
| FillMemory | CE56 | LD E,$00 | Set E to 00. | |||||||
|
This entry point is used by the routines at ClearAttributes and ClearScreenBuffer.
|
||||||||||
| FillMemory_WithValue | CE58 | LD (HL),E | Write E. | |||||||
| CE59 | INC HL | Increment HL. | ||||||||
| CE5A | DEC BC | Decrement BC. | ||||||||
| CE5B | LD A,B | Jump to FillMemory_WithValue if BC is not zero. | ||||||||
| CE5C | OR C | |||||||||
| CE5D | JR NZ,FillMemory_WithValue | |||||||||
| CE5F | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: CE4E | Up: Map | Next: CE60 |