8051 ASSEMBLY LEVEL CODE TO CLEAR ALL BANK 1 REGISTERS


CODE:


ORG 0000H
MOV R0,#8
MOV R1,#8
UP:
MOV @R0,#0000
INC R0
DJNZ R1,UP
END

OUTPUT:

BEFORE EXECUTION:



AFTER EXECUTION:


Comments