Assembly assignment help, Assembly Language

Problems:
1. Write a single program. Each of the problems (2-4) should be written within a procedure. Your “main” procedure should call each procedure. Before calling each procedure, your main method should clear the screen, and prompt the user to press “Enter” to see the results of the next problem. Be sure to account for additional inputs as each problem requires.

2. Write a procedure that displays a single character at 100 random screen locations. Use a randomized delay between characters (between 10 and 300 milliseconds).

3. Implement Euclid’s algorithm for finding the greatest common divisor of two positive. Your program should take two positive integer inputs and output the greatest common divisor. The pseudocode for Euclid’s Algorithm is:
GET X and Y
WHILE Y != 0
X = X mod Y
INTERCHANGE X,Y
END WHILE
DISPLAY X

4. Implement a procedure that multiplies any two unsigned 16-bit integers using only shifting and addition. Your program should take in two inputs (16-bit) and display the output result.
Posted Date: 11/19/2012 5:42:13 PM | Location : United States







Related Discussions:- Assembly assignment help, Assignment Help, Ask Question on Assembly assignment help, Get Answer, Expert's Help, Assembly assignment help Discussions

Write discussion on Assembly assignment help
Your posts are moderated
Related Questions
Flag Manipulation and Processor Control Instructions These instructions control the functioning of available hardware inside the processor chip. These are categorized into thes

1. The microwave has a clock (hh:mm:ss am/pm) and the user should be able to change the clock at any time. 2. For cooking the user should first enter the time. The user can ente

init_lcd                        ;(this initialises a 2 row lcd)     bcf     TRISA,0             ;PORTA bit 0 as an output (lcd RS pin)     bcf     TRISA,1             ;PORTA bit 1

Write a program to mask bits D3D2D1D0 and to set bits D5D4 and to invert bits D7D6 of ax register

Why is the capability to relocate processes desirable?

Program :  Write an assembly program to find out the largest number from a given unordered array of 8-bit numbers that stored in the locations starting from a known address. S

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

8254 Programmable Timer A diagram of Intel's 8254 interval event/timer counter is given in Figure. The 8254 consists of 3 identical counting circuits, per of which has GATE and

) What is the difference between re-locatable program and re-locatable data?

move a byte string ,16 bytes long from the offset 0200H to 0300H in the segment 7000H..