Answered You can hire a professional tutor to get the answer.

QUESTION

Hallo I need to do a project for a class in assembly. The question is the following: Question 3 [50] Assembly language programming:

Hallo I need to do a project for a class in assembly. The question is the following:

Question 3 [50]Assembly language programming:Write a program in assembly language to read a number entered by the user. The program should display an enlarged version of a given number on the screen. The program should do the following:1. Clear the screen and change the screen colour to yellow on blue.2. Change the cursor position to row 10, column 0.3. Prompt the user to key in an upper case letter (A - E).4. Read the letter from the keyboard.

5. Test whether the number is in range (A to E). Display an error message if the letter is out of range and terminate the program.6. Display an enlarged version of the letter on the screen.For example: If the user enters B, the following pattern is displayed:Enlarged letter                        Bit pattern                         Hex number                                              Line number$$$$                                             11110                                        1E                                                               1$      $                                            10001                                       11                                                               2$       $                                           10001                                       11                                                                3$$$$                                              11110                                      1E                                                                 4$       $                                           10001                                        11                                                               5$       $                                           10001                                       11                                                                6$$$$                                              11110                                       1E                                                                7I.e. define a bit pattern for each letter and use this pattern to display the individual lines:For example: For the letter ‘B’ displayed above you should define a string of 7 hex numbers, one hex number for each line. To display the first line, step through the bit pattern, displaying a space if the bit is equal to zero and displaying a ‘$’ otherwise. Write a carriage return and line feed to the screen and move to the pattern for the next line. Display all 7 lines of the enlarged number.7. Terminate the program.

Using NASM

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question