Question

write an 8086 assembly program that performs the following functions: Prompts the user to enter a set of student’s lab grades (array of 2-digit decimal numbers) and store it in the memory. Use ‘$’ sign as termination, i.e., the user enters ‘$’ at the end

write an 8086 assembly program that performs the following functions: Prompts the user to enter a set of student’s lab grades (array of 2-digit decimal numbers) and store it in the memory. Use ‘$’ sign as termination, i.e., the user enters ‘$’ at the end of the numbers. You can assume that the maximum number of students in the lab is 20.


1.jpg


0 0
Add a comment Improve this question Transcribed image text
Answer #1

THIS IS THE ASSEMBLY LANGUAGE PROGRAM AND I HAVE EXPLAINED WITH EVERYTHING IN THIS QUESTION YOU JUST NEED TO FOCUS ON THE QUESTION CAREFULLY ,YOU WILL GET EVERYTHING.

IN THIS PROGRAM YOU HAVE TO GIVE THE INPUT LIKE MARKS AND YOU WILL OBTAINED THE GRADE WITH THE PASSING OR FAILURE MESSAGE,

YOU CAN TAKE ANY INPUTS.

Untitled - Notepad File Edit Format View Help include emu8086.inc org 100h print Input Marks % value : call scan_num; pri

Untitled - Notepad File Edit Format View Help gradeA+: printn A+ (Plus) jmp stop grade: print A (Plain) jmp stop grda- pr

jmp stop gradeF: print F (Fail) jmp stop stop: ret define_scan_num define_print_num define_print_num_uns end


answered by: ANURANJAN SARSAM
Add a comment
Know the answer?
Add Answer to:
write an 8086 assembly program that performs the following functions: Prompts the user to enter a set of student’s lab grades (array of 2-digit decimal numbers) and store it in the memory. Use ‘$’ sign as termination, i.e., the user enters ‘$’ at the end
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a program that performs the following: 1. Presents the user a menu where they choose...

    Write a program that performs the following: 1. Presents the user a menu where they choose between:              a. Add a new student to the class                           i. Prompts for first name, last name                           ii. If assignments already exist, ask user for new student’s scores to assignments              b. Assign grades for a new assignment                           i. If students already exist, prompt user with student name, ask them for score                           ii. Students created after assignment will need to...

  • Lab 03 Numbers Squared and Rotated! Objective: Write a program that prompts the user for a...

    Lab 03 Numbers Squared and Rotated! Objective: Write a program that prompts the user for a 4-digit whole number (we assume the users will enter this correctly) and then displays it squared! No, not the mathematical squaring. This will make a square box of the numbers! WHOA! The top is the number, the left-hand side is the number but going down, the bottom is the number reversed, and the right hand side is the number going up. Also once the...

  • Write a program that prompts the user to enter the number of milliseconds and converts the milliseconds to a string hours:minutes:seconds

    Problem 1.Write a program that prompts the user to enter the number of milliseconds and converts the milliseconds to a string hours:minutes:seconds. The program should use the convertMillismethod with the following header:public static String convertMillis(long millis)For example, convertMillis(5500) returns the string 0:0:5, convertMillis(100000) returns the string 0:1:40, andconvertMillis(555550000) returns the string154:19:10.Problem 2. (Count occurrence of numbers)Write a program that reads integers between 1 and 100 and counts the occurrence of each (you should store the numbers in an array). Output...

  • C++ Programming Assignment S Mammal Lab This lab's goal is to give you some practice using inheritance, virtual functions, pointers, dynamic memory allocation, random numbers, and polym...

    C++ Programming Assignment S Mammal Lab This lab's goal is to give you some practice using inheritance, virtual functions, pointers, dynamic memory allocation, random numbers, and polymorphism. To complete the lab implement the following steps: Create a class called Mammal. All mammals have a weight and a name, so its data should be the mammal's weight and name. Provide a default constructor that sets the mammal's weight to 0 and name to null, and another constructor that allows the weight...

  • write a code on .C file Problem Write a C program to implement a banking application...

    write a code on .C file Problem Write a C program to implement a banking application system. The program design must use a main and the below functions only. The program should use the below three text files that contain a set of lines. Sample data of these files are provided with the assessment. Note that you cannot use the library string.h to manipulate string variables. For the file operations and manipulations, you can use only the following functions: fopen(),...

  • For this lab you will write a Java program that plays the dice game High-Low. In...

    For this lab you will write a Java program that plays the dice game High-Low. In this game a player places a bet on whether the sum of two dice will come up High (totaling 8 or higher), Low (totaling 6 or less) or Sevens (totaling exactly 7). If the player wins, they receive a payout based on the schedule given in the table below: Choice Payout ------ ------ High 1 x Wager Low 1 x Wager Sevens 4 x...

  • C Programming write two functions, similar to what you see in the sample program. The first will ask the user to enter some information (I have included the type in parentheses) First Name (char[]) L...

    C Programming write two functions, similar to what you see in the sample program. The first will ask the user to enter some information (I have included the type in parentheses) First Name (char[]) Last Name (char[]) Age (int) Height in Inches (double) Weight in Pounds (double) You will use pass-by-reference to modify the values of the arguments passed in from the main(). Remember that arrays require no special notation, as they are passed by reference automatically, but the other...

  • This C++ Program consists of: operator overloading, as well as experience with managing dynamic memory allocation...

    This C++ Program consists of: operator overloading, as well as experience with managing dynamic memory allocation inside a class. Task One common limitation of programming languages is that the built-in types are limited to smaller finite ranges of storage. For instance, the built-in int type in C++ is 4 bytes in most systems today, allowing for about 4 billion different numbers. The regular int splits this range between positive and negative numbers, but even an unsigned int (assuming 4 bytes)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT