Efficient assembly language program, Assembly Language

(1) Write a program that will:
(a) display "Enter Your Name:"
(b) convert the entered name to Capital letters (if small), If any other character is entered, the program will ask the user to "re-enter the name again".
(c) display the Name (in Capital letters) in the center of the screen.

(2) Write a program that will do the same operation as "AAA" instruction. Means the program will generate the same results as "AAA" operation.

(3) Write an efficient assembly language program that will generate Fibonacci numbers. Your program will:

(a) Display a message stating: Enter a number ‘n' (n<=10) to generate the sequence Fn of Fibonacci numbers.

(b) Display the generated Fibonacci numbers

(Example: if n=10, you should display 55)
In mathematics, the Fibonacci numbers are the numbers in the following integer sequence:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...
By definition, the first two Fibonacci numbers are 0 and 1, and each subsequent number is the sum of the previous two. In mathematical terms, the sequence Fn of Fibonacci numbers is defined by the recurrence relation:

Fn =Fn-1 +Fn-2, with seed values of F0 = 0 and F1 = 1

Posted Date: 2/19/2013 7:54:28 AM | Location : United States







Related Discussions:- Efficient assembly language program, Assignment Help, Ask Question on Efficient assembly language program, Get Answer, Expert's Help, Efficient assembly language program Discussions

Write discussion on Efficient assembly language program
Your posts are moderated
Related Questions
8086 Minimum mode System and Timing In a minimum mode 8086 system, the microprocessor 8086 is operated in minimum mode by strapping its MN/MX pin to logic 1.All the control si

LODS : Load String Byte or String Word:- The LODS instruction loads AL/AX register by the content of a string pointed to by DS:SI register pair. The SI is automatically modifie

ROL : Rotate Left without Carry: This instruction rotates the content of the destination operand to the left by the specified count bit-wise excluding the carry. The most signific

Open notepad and enter the code for a program that calculates the following arithmetic expression: x = a + b + c - d - e + f The operands a, b, c, d, e, f, and x should be declared

Write an assembly language program that will: accept keyboard input of a positive integer value N; compute the sum S= 1+ 2 + 3 + ... + N; print (output) the computed su

PTR : Pointer:- The pointer operator which is used to declare the type of a variable, label or memory operand. The operator PTR is prefixed by either WORD or BYTE. If the prefi

to separate positive and negative numbers

Example : Add the contents of the 2000H: 0500H memory location to contents of 3000H: 0600H and store the result in 5000H: 0700H. Solution : Unlike the past example progra

Programming with an assembler The procedure of hand-coding 8086 programs is somewhat tiresome; hence generally a programmer may find it hard to get a correct listing of the mac

Write a MC68H12 assembly language program to find the largest number in an array of ten 8-bit numbers. The array is stored in memory locations starting at address $1100. Use branch