Write a program that inputs two numbers and then prints

Assignment Help Computer Engineering
Reference no: EM132212169

Write all programs in 32-bit assembly language.

1. Using GetDec and PutDec, write a program that inputs two numbers and then prints their product and quotient.

2. Write a program Today using PutDec which displays today's date in the form

Today is mm/dd/yyyy

With the month, day, and year filled in. The date is returned by the DOS Get Date call

Input: ah=2ah

Output: al = day of week (0..6)

cx= year (e.g., 1980)

dh= month (1..12)

dl= day (1..31)

3. Create a procedure called PutBin which takes as input a number in ax and displays the number in binary on the CRT screen as 16 ASCII 0's and 1's. (Hint: Let PutHex be your guide.)

Reference no: EM132212169

Questions Cloud

What are business ethics and why are the important : What are business ethics and why are the important? What are the practical steps that we can do to promote a strong ethical environment?
Write a prolog rule for the core-family parent : Write a prolog rule for the core-family parent, children, sibling i.e. core-family(X, Y) if X is Y's parent, child, or sibling h-mother-in-law husband's mother.
Write a program using python that prints all the numbers : Write a program using python that prints all the numbers from 1 to 100, inclusive, each on its own line.
Write a program witha class that has 2 private data members : Write a program witha class that has 2 private data members SALARY and ID.
Write a program that inputs two numbers and then prints : Using GetDec and PutDec, write a program that inputs two numbers and then prints their product and quotient.
How might given use the six decision steps : Suppose a soft-drink firm is grappling with the decision about whether to market a new carbonated beverage with 25 percent real fruit juice.
Write paragraph about how you will avoid procrastination : Write a paragraph about how you will avoid procrastination. consider these ideas when thinking about procrastination: fear of failure, fear of success,
Discuss the purpose and components of production strategy : What is production system? Discuss the purpose and components of a production strategy. Would you consider a production strategy to be strategic, or tactical?
Demonstrate professional communication in the content : You must use the rubric to direct the creation of your submission because it provides detailed criteria that will be used to evaluate your work.

Reviews

Write a Review

Computer Engineering Questions & Answers

  File containing a table of student grades

A particular professor has a file containing a table of student grades, where the first line of the file contains the number of students and the number of scores in the table.

  How much ram will you need to compute the solution

How much RAM will you need to compute the solution given the method required? Estimate how long it will take the machine to compute the solution.

  Discuss cia triad of security be applied to an organization

How can the CIA triad of security be applied to an organization and not just a single system ? Give examples to support your position

  Create an abstract data type which simulates operations

For this pre-lab you will create an abstract data type (ADT) which simulates operations associated with the ordinary concept of "a list".

  How to execute a script with the lowest cpu priority

Please give me a one liner on how to execute a script with the lowest cpu priority, Using the command "nice"

  Plot the local nusselt number as a function

Consider laminar flow in a circular tube with a fully developed velocity profile. Let the tube surface be alternately heated at a constant rate per unit.

  Identify how the system restore tool could be used

Identify how the System Restore tool could be used during the incident response and recovery process (it may be useful in more than one phase).

  Does this say something about the unicity distance

In particular, considering the ciphertext ALIIP and its possible plaintexts, does this say something about the unicity distance?

  Write a java program to manipulate grades

Write a Java program to manipulate grades.Print the arrays (using the enhanced for) and list shuld be from least to greatest.

  Compare and contrast the useradd

Compare and contrast the useradd and adduser commands in Linux. What is their purpose? Which one would you use? What other processes besides using these two commands might you employ to accomplish the same task?

  Explain heat transfer by radiation

Heat Transfer by Radiation, How much does a human body radiate assuming that they are in a vacuum of space

  Write an algorithm that prompts the user to enter the area

Write an algorithm that prompts the user to enter the area of the lawn, the number of fertilizing applications, and the number of trees to be planted.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd