I am programming an 8051 micro controller and confused about the below code that is this a nested loop or not? My teacher is saying that this is not nested loop because that would require two labels. please tell me can we call this a nested loop or not?
ORG 00H
MOV R1,#10
MOV R2,#100
HERE:
DJNZ R2,HERE
MOV R2,#100
DJNZ R1,HERE
END
ORG 00H
MOV R1,#10
MOV R2,#100
HERE:
DJNZ R2,HERE
MOV R2,#100
DJNZ R1,HERE
END