LAB homework, Assembly Language

1. Write a program that calculates the Fibonacci series: 1, 1, 2, 3, 5, 8, 13, ….. (Except for the first two numbers in the sequence, each number is the sum of the preceding two numbers.) Use LOOP and set the limit for 12 iterations. Assemble, Link, and use DEBUG to trace through the routine.

Attention: This will be a complete assembly language program. A good documentation on your source code is required. You will lose points if you don’t have good documentation. This includes heading, block comment, and line-to-line comment. In the heading, you need to explain what the program is supposed to do, the algorithm, the inputs/outputs, the registers, and other information. You need to have good explanation on your DEBUG results as well.

Posted Date: 3/14/2013 6:18:35 PM | Location : United States

Related Discussions:- LAB homework, Assignment Help, Ask Question on LAB homework, Get Answer, Expert's Help, LAB homework Discussions

Write discussion on LAB homework
Your posts are moderated
Related Questions
INTO : Interrupt on Overflow:- It is executed, when the overflow flag OF is set. The new contents of IP and CS register are taken from the address 0000:0000 as described in INT

Assume that the registers are initialized to EAX=12345h,EBX =9528h ECX=1275h,EDX=3001h sub AH,AH sub DH,DH mov DL,AL mov CL,3 shl DX,CL shl AX,1 add DX,AX

You will need to upload your main.c and factorial.s files and a .jpg photo of the output on your board using the Vista assignment upload features.  It must be submitted by the dead

INC: Increment : - This instruction increments the contents of the particular memory or register location by the value 1. All the condition code flags are affected except the carry

SHR : Shift Logical Right: This instruction performs bit-wise right shifts on the operand word or byte that might be reside in  a memory location or a register, by the specified c

Flag Manipulation and Processor Control Instructions These instructions control the functioning of available hardware inside the processor chip. These are categorized into thes

Typical link to modems for synchronous and asynchronous transmissions are shown in Figure. With regard to the synchronous connections it is consider that the timing is controlled

Logical Instruction : This type of instructions is utilized for carrying out the bit by bit shift, basic logical operations or rotate. All of the condition code flags are affe

errorlevel -302 ;prevents error code for this chipset __config 0x373A ;chip config PIC spec page 146 processor 16F877A ;chipset reset code

When Seen in the choir, Terry was the picture of an angelic devil. I have to underline the predicate twice