in cortex M3
18. Write a recursive assembly subroutine that calculates the Fibonacci number If n = 0 If n = 1 otherwise F(n) = F(n-1)+ F(n -2) 19 Show transcribed image text 18. Write a recursive assembly subroutine that calculates the Fibonacci number If n = 0 If n = 1 otherwise F(n) = F(n-1)+ F(n -2) 19
Answer
Answer: Code of the AboveProblem:-
#include<stdio.h>
int fib( int value )
{
int result = 1;
if (value
OR
OR