Professional Documents
Culture Documents
Roll No.511767 8051 - 1.factorial
Roll No.511767 8051 - 1.factorial
511767
8051-------
*1.FACTORIAL
DJNZ B,loop ; decrement B i.e. B= B-1 and jump to loop until B=0
END ; end
END ; end
*3.FIBONOCCI
END ; end
END ; end
*5-----
If(x>56)
Y=x*7;
Else
SJMP LOOP3 ;short jump to loop3 so that loop 2 will not repeat
8086----