Using Assembly Language Microwoft Visual Studio Write Following Code Procedure Correct Num Q37107967

using assembly language in microwoft visual studiowrite the following codewith procedure with correct number of Fib numbers

Your program should detect the largest Fib number that can becalculated. Besides storing the result in an array, print them onthe screen.


Solution


-MODEL SMALL DATA NUM I DB 7 NUM-2 DB1 VI DB7 CODE MAIN PROc MOV AX DATA MoV NUM-1,0 MOV NUM-2,a 1 MoV DL, NUM-1 OR DL, 30H MMov v2, AH Moy, AH,02H INT 21H INT 21 H CHIFT MoV AL,N UM-2 MOV NUM-L, AL LOOP L1 AX, 4 Cool! MOV NT 21 MAIN ENDP END MAIN

-MODEL

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.