Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,056 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,583 people online right now. Registration is fast and FREE... Join Now!




Help wit assembly programs

 
Reply to this topicStart new topic

Help wit assembly programs, Fibonocci series

Sreemv
1 Aug, 2008 - 09:49 AM
Post #1

New D.I.C Head
*

Joined: 1 Aug, 2008
Posts: 1

Hello.. Can anyone give me the assembly language code required to generate the Fibonacci's series on using MASM!
Thanks in advance

User is offlineProfile CardPM
+Quote Post

NickDMax
RE: Help Wit Assembly Programs
1 Aug, 2008 - 01:34 PM
Post #2

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,858



Thanked: 49 times
Dream Kudos: 550
My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: code.gif

Thanks.
User is offlineProfile CardPM
+Quote Post

kapax
RE: Help Wit Assembly Programs
19 Aug, 2008 - 12:55 PM
Post #3

New D.I.C Head
*

Joined: 2 Jul, 2008
Posts: 39



Thanked: 1 times
My Contributions
CODE

mov ax, 1
mov bx, 1

loop:
add ax, bx
add bx, ax
jmp loop


registers go like that:
ax = 1
bx = 1
ax = 2
bx = 3
ax = 5
bx = 8
...

but finish the code, i am not going to do your homework for you.

This post has been edited by kapax: 19 Aug, 2008 - 12:55 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 05:59PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month