Fibonacci Series :
Here is the code for the Fibonacci Series in the Assembly Language program :
2000 MVI D,07 H
2002 MVI B,00 H
2004 MVI C,01 H
2006 MOV A,B
2007 ADD C
2008 MOV B,C
2009 MOV C,A
200A DCR D
200B JNZ 2006
200E END
Output :
1
1
2
3
5
8
13
To know about the Fibonacci Series in detail and also to know the codes of the Fibonacci Series in various other programming languages Click Here
If the above link doesn't work go to this URL :
No comments:
Post a Comment