Question: In Masm must use while loop and if statement to calculate the fibonacci numbers from 0 to 1 , 0 0 0 , 0 0
In Masm must use while loop and if statement to calculate the fibonacci numbers from to
Pseudocode:
x
y
sum
temp
While y is less than THEN
If y is odd then
sumsumy
Endif
xx y
tempx
xy
ytemp
Endwhile
Note: temp is not a required varible and not needed. In addition, you are not looping rather looping until you reach the Fibonacci value greater than
Answer
Register:
EAX:E
Memory:
xCB: e
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
