CPP - Assembly work

In the Fibonacci sequence 1, 1, 2, 3, 5, 8, 13, 21, …., the next number is always the sum of the previous two . The following function calculates the nth Fibonacci number by calling itself recursivly:

unsigned int fib(unsigned int n)


if (n==1 || n==2)

return 1;


return fib(n-2) + fib(n-1);


Professor Mobonacci has recently modified the Fibonacci sequence, where each number, f(n), in the sequence is f(n – 2) / 2 + f(n – 1) * 2 (Note: the division is integer division). The first two numbers are specified to be 1 and 2. So the sequence is 1, 2, 4, 9, 20, 44, 98, 218, … . In this assignment, you are asked to write a recursive function Mobonacci in assembly to calculate the nth number in such sequence. You also need to write a main function in c++ which reads a positive integer n, calls the Mobonacci assembly function with the parameter n, and the displays the result. You need to hand in a document (around 2-3 pages) describing your code, experiences in debugging your program, etc. In your report, you also need to draw how the stack grows and shrinks when the function Mobonacci is called with the parameter 5.

Beceriler: Montaj, C++ Programlama, x86/x64 Çevirici

Daha fazlasını gör: write a recursive function, unsigned integer, stack programming, recursivly, recursive programming, programming with cpp, programming in assembly, function calling itself, cpp programming, a recursive function, fibonacci, Cpp, assembly assignment, recursive function, fib, code cpp, document assembly, work home courtesy calls, sum numbers, write recursive program, work assembly trim chassis vehicles engineer, fibonacci sequence, code program array find average positive numbersoutputs result, return draw, fibonacci function

İşveren Hakkında:
( 537 değerlendirme ) lahore, Pakistan

Proje NO: #7323953



i have an assembler expirience on misc. platform - linux (2 or 3 kind of asm), win, and for different [login to view URL] (x86, arm). and i have the expirince in c/c++ coding I can do the job in 4 hours

%selectedBids___i_period_sub_7% gün içinde 50%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(17 Değerlendirme)

Bu iş için 14 freelancer ortalamada $59 teklif veriyor


Hello. I take an interest in your job. I have full skills in Reverse engineering, Java, AI, Mathematics, Algorithms,Qt and c++ programming. please check my portfolio and working history. Looking forward to your kin Daha Fazla

in %bids___i_period_sub_35% gün içinde210%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(483 Değerlendirme)

Hi, thanks for invitation to this project. What compiler should be used for the program? My full profile on this site: 250+ completed projects, customer rating 5.0/5 (click on my name).

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(114 Değerlendirme)

Hi sir I'm ready for this project. Thanks for your invitation. Please accept my bid. Best Regards Hao

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(43 Değerlendirme)

Hi, i have experience in C/C++(Windows & Linux),C#,Delphi,Php,Perl,Java, Asm x86 and etc, also ,Linux Administration , also, i have big experience in reverse engineering (OllyDbg,IDA Pro,Softice, Hiew and etc),can mak Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(14 Değerlendirme)

I have 6 years experience in C/C++, Assembly programming. Please let me help you in this project. Thank you very much!

in %bids___i_period_sub_35% gün içinde55%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(15 Değerlendirme)

I am great C/C++ developer from 7+ years of experience. Award me the project And i will finish it in less than 30 minutes for you. You can read my reviews. And you can trust me for fine work

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(7 Değerlendirme)

Hi I have a Masters in Embedded systems and I have good experience working with MIPS,x86 assembly. I can do this assignment for you. PM me for more details

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)

Which assembler to use? Or which compiler to use? If it is gcc, I can do this within a few hous. Looking forward for you message.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(3 Değerlendirme)

I am experienced in mips and x86 assembly code, and I also have written a compiler for a c like language.

in %bids___i_period_sub_35% gün içinde30%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(5 Değerlendirme)

Hi brother i love programming especially c/c++ and algorithms i called c/c++ "Pure Programming" . i have a strong programming past and working in different languages over 6 years i love this project and complete this Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)

Предложение еще не подано

in %bids___i_period_sub_35% gün içinde53%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Hello. I've read all your requirements and ready to complete your project within 2 days. I have fully understood the task (I have only one extra question). Please contact me if you find me a worthy candidate.

in %bids___i_period_sub_35% gün içinde35%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)