.ORG 0X00
LDI R16,0XFF
LDI R17,0XFF
LDI R18,0XFF
LDI R19,0XFF

MUL R16,R18
MOV R23,R0
MOV R22,R1
MUL R16,R19
ADD R22,R0
BRCS D1
CLC
ADD R21,R1
BRCS D2
CLC
MUL R17,R18
ADD R22,R0
BRCS D1
CLC
ADD R21,R1
BRCS D2
CLC
MUL R17,R19
ADD R21,R0
BRCS D2
CLC
ADD R20,R1
JMP END

D1:
INC R21
D2:
INC R20
   
END:
JMP END
