ADDRESS SPACES S3C84E5/C84E9/P84E9
2-6
F PROGRAMMING TIP Using the Page Pointer for RAM clear (Page 0, Page 1)
LD PP,#00H ; Destination 0, Source 0
SRP #0C0H
LD R0,#0FFH ; Page 0 RAM clear starts
RAMCL0: CLR @R0
DJNZ R0,RAMCL0
CLR @R0 ; R0 = 00H
LD PP,#10H ; Destination 1, Source 0
LD R0,#0FFH ; Page 1 RAM clear starts
RAMCL1: CLR @R0
DJNZ R0,RAMCL1
CLR @R0 ; R0 = 00H