Write an Assembly language program that queries an integer (1 s k s 365) from the keyboard in a loop. Then calculates and displays information about what will be the next day of the year: Saturday, Sunday or working day, if January 1: 1) Monday; 2) b) the d-th day of the week (if January 1 is Monday, then d = 1 if Tuesday = 2,..., if Sunday -d = 7). The input ends when you press the EЅС key.

Answers

Answer 1

Answer:

This program uses the int 16h interrupt to query an integer from the keyboard and store it in the al register. The program then enters a loop, in which it calculates the next day of the week using the add, mov, div, and cmp instructions, and displays the appropriate message using the int 21h interrupt. The program exits the loop and ends when the user presses the ESC key (ASCII code 27).


Related Questions

Let’s say you are setting up your ANOVA one-way analysis of variance graph. How many residual plots can you view at one time?

Select an answer:
two plots
one plot
five plots
three plots

Answers

Since a person is setting up ANOVA one-way analysis of variance graph. The amount of  residual plots that they can view at one time is option D: three plots

What prerequisites must be met for a residual plot?

A residual plot is a graph where the independent variable is on the horizontal axis and the residuals are displayed on the vertical axis.

Note that a linear regression model is adequate for the data if the residual plot's points are randomly distributed across the horizontal axis; otherwise, a nonlinear model is preferable.

So one can say that to verify an OLS linear regression model's assumptions, use residual plots. You run the danger of getting findings you cannot be able to rely on if you breach the assumptions. Residual plots show fitted values or another variable on the x-axis and the residual values on the y-axis.

Learn more about residual plots from

https://brainly.com/question/16821224
#SPJ1

Select the word that best completes the sentence. Osha's standards require your employer to ensure that lighting, equipment, motors, machines, appliances, switches, controls and enclosures are constructed and installed to _____________ electrical dangers.

Answers

The word that best completes the sentence. is "MInimize"

Thus, Osha's standards require your employer to ensure that lighting, equipment, motors, machines, appliances, switches, controls, and enclosures are constructed and installed to MInimize electrical dangers.

What are OSHA Standards?

OSHA standards are guidelines that specify how companies must safeguard their employees from dangers. OSHA rules are divided into four categories: general industry, building, maritime, and agriculture. (The General Industry set relates to the greatest number of people and workplaces.)

OSHA standards include requirements to provide protective clothing, prevent tunneling cave-ins, reduce exposure to some communicable diseases, guarantee the safety of workers entering confined spaces, prevent exposure to potentially harmful substances such as asbestos and lead, and install machine guards, among other things.

Learn more about OSHA:
https://brainly.com/question/29345131?
#SPJ1

Type MC cable provides an effective ground-fault current path and is recognized by the NEC as an equipment grounding conductor when _____.

Answers

In accordance with 250.118(1), A MC cable includes an insulated or uninsulated equipment grounding conductor.

When does MC cable is recognized by the NEC as an equipment grounding conductor?

Type MC cable that provides an efficient ground-fault current path in compliance with one or more of the following is :

1. In accordance with 250.118(1).2. The interlocked metal tape-type MC cable's combined metallic sheath and uninsulated equipment grounding/bonding conductor that is listed and identified as an equipment.3. The smooth or corrugated tube-type MC cable's metallic sheath, or the combined metallic sheath and equipment grounding conductors, that is listed and identified as an equipment grounding conductor.

To know more about MC cable, visit: https://brainly.com/question/14934410

#SPJ4

two structural elements with the same dimensions are compared. the structural element with a larger modulus of elasticity (e) isO heavier O less stiff O stiffer O less strong O stronger

Answers

The structural element with a larger modulus of elasticity (e) is stiffer. The modulus of elasticity is a measure of the stiffness of a material, and a larger modulus of elasticity indicates a stiffer material.

Stiffer means that the structural element with a larger modulus of elasticity will be less flexible and will be more resistant to deformation under load. It will also be able to support a greater load before reaching its yield point. On the other hand, the structural element with a smaller modulus of elasticity will be more flexible and will be more susceptible to deformation under load. It will also be able to support a smaller load before reaching its yield point.

Learn more elasticity, here https://brainly.com/question/28790459

#SPJ4

Other Questions
find the p-wave that travels the distance below give an example (one not used in class or your text) of cognitive dissonance and how an individual might resolve this. 7 divided by 1 over 2 if you take a test in the same condition in which you studied for the test, you are using ____ _____ learning. you push a 27 kg crate with 1 n of force, and it moves along the floor with constant velocity, the acceleration of the crate is A base of a right solid, which is 3 centimeters high, is shown in the picture below. Findthe volume of the right solid. All dimensions are in centimeters.45 8. Graph the function f(x)=-5/4x+6.Label the point on the graph that is thesolution to f(x) = -4 by writingsolution" next to it. Then, write thesolution below.SolutionShow your work Dylan has $14.00 to spend at the book fair. He decides to buy two paperbacks for $4.50 each. Then, he sees some sticker books. At most, how much can he spend on sticker books? A $5.50 B $6.00C $5.01 D $5.00 For which set of patients does a pediatric dentist focus on providing oral healthcare?. Benzodiazepines prescribed to treat generalized anxiety disorder enhance the actions of the neurotransmitter:a. glutamate.b. norepinephrine.c. GABA.d. acetylcholine. perpendicular bisector of AB.Which diagram shows a valid approach to this construction? Is 181 prime or composite? Justify your answer. A. 181 is prime because it has a factor of 9. B. 181 is prime because its only factors are 1 and itself. C. 181 is composite because it has a factor of 9. D. 181 is composite because it has a factor of 3.HELPPPP ME Find an equation for the graph sketched below:86-5fonN-5-4-3-2-15 61 2 3 4 5 What is the value of g(5)-2g(1) Positive or negative domains in both korea and vietnam, there were well-known leaders of the communist and anti-communist sides. what were the names of these four leaders? despite their differences, what did they have in common? According to Bandura's social-cognitive perspective,____our expectations about whether we will succeed in (and attempt) new challenges.A) self-esteemB) reciprocal determinismC) the spotlight effectD) self-efficacy Which of the following can be destroyed by exposure to water or heat?-the water-soluble vitamins (B vitamins and vitamin C)-the fat-soluble vitamins (vitamins A, D, E, and K)-major minerals-trace minerals 4. Not all the philosophes held the same beliefs, but most agreed that:a. Reason should be used at all timesb. The search for new knowledge and ideas should continuec. Improvements must be made in the system of justice to end unfair jail sentences, the torture of prisoners, and terrible conditions in prisons.d. Slavery and warfare should be done away withe. Freedom of religion, speech and press must be given to allf. Everyone should enjoy liberty and equality.9. There should be public education for all, not just schools for children of the wealthy. Directions: Choose the best answer to the question and fill in the corresponding oval on the Multiple Choice section of the Scantron sheet provided.1. The population of Rochester has been increasing by 5% each year for the past 7 years. What is the growth factor?A. 7B. 1.05C. 50D. 52. Which of the following is not a point on the graph of the function y=4 x+1.A. (0,4)B. (-1,1)C. (1,16)D. (-2,0)