Please write both programs in 32-bit assembly that are compatible with Dos-Box.
ID: 3862378 • Letter: P
Question
Please write both programs in 32-bit assembly that are compatible with Dos-Box.
1.Write a 32-bit assembly language program that inputs three numbers (each less than ten) and outputs the largest of the three.
2. Write a program which appears to display a vertical bar character ‘|’ moving left to right in 79 positions across the screen, then back right to left across the screen. (Hint: If you have just displayed a ‘|’, the cursor will be just to the right of it. To ‘move’ the character one space to the right, you must display the characters Backspace (8),’ ‘ (a space, to erase the old ‘|’), and a new ‘|’. If you display the ‘|’ in the last, or 80 th , position in the screen, the cursor will go to the next line and you won’t be able to get it back to the previous line (with what you know).
Explanation / Answer
1.
2.