1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
raketka [301]
4 years ago
11

Write a short assembly language program in either our 8088 SCO DOSBox or 80386+ MASM Visual Studio 2017 environment that demonst

rates data storage and retrieval from memory. As an example consider some value which is either 16 or 32 bits, after instantiating as an immediate value transfer to and retrieve from memory using assembly language instructions.
Computers and Technology
1 answer:
saul85 [17]4 years ago
3 0

Answer: provided in the explanation section

Explanation:

The question says:

Write a short assembly language program in either our 8088 SCO DOSBox or 80386+ MASM Visual Studio 2017 environment that demonstrates data storage and retrieval from memory. As an example consider some value which is either 16 or 32 bits, after instantiating as an immediate value transfer to and retrieve from memory using assembly language instructions.

The Answer:

multi-segment executable file template. data segment ; add your data here! pkey db "press any key...$" ends stack segment dw 128 dup(0) ends code segment start: ; set segment registers: mov ax, data mov ds, ax mov es, ax ; add your code here mov cx,4 input: mov ah,1 int 21h push ax loop input mov dx,13d mov ah,2 int 21h mov dx,10d mov ah,2 int 21h mov cx,4 output: pop bx mov dl,bl mov ah,2 int 21h loop output exit: lea dx, pkey mov ah, 9 int 21h ; output string at ds:dx ; wait for any key....

mov ah, 1 int 21h mov ax, 4c00h ; exit to operating system. int 21h ends end start ;

set entry point and stop the assembler.

Cheers I hope this helps!!!

You might be interested in
40 POINTS PLZ HELP NEED ASAP!!!
dem82 [27]
I Think The answer is c I hope it helps Message Me if I’m wrong and I’ll change My answer and fix it for you
7 0
3 years ago
Who defined the term crowdsourcing in a Wired magazine article?
Y_Kistochka [10]
 <span>Jeff Howe in 2006 is your Answer.</span>
6 0
3 years ago
3 of 10 Taking more than four years to graduate will increase costs and may impact a return on investment. What could you check
UkoKoshka [18]

The things to check is Why would finding graduation rates be useful in knowing an institution's ROI?

<h3>What is an institution of higher education?</h3>

The term “institution of higher learning” is known to be often called a college, university, or other kind of institution.

Note that it is one that takes about 4 years to complete or more. By answering the question of Why would finding graduation rates be useful in knowing an institution's ROI?., one can be able to know the reasons for the above.

Learn more about institute from

brainly.com/question/6947486

#SPJ1

7 0
3 years ago
Consider a Rational class designed to represent rational numbers as a pair of int's, along with methods reduce (to reduce the ra
Shtirlitz [24]

Answer:

There is not a reason for the two methods to be private unless you want to only allow objects of the class Rational to have access to these methods.  Perhaps your professor has a particular reason for requiring it to be set up as such.

Explanation:

The use of the private space simply restricts access to either variables or methods contained within the space to the class object that is associated with the variable or methods.

The use of the public space allows the method or variable to be accessed from anywhere within the program.

Note, if using class inheritance, classes that inherit from the Rational class will not be able to access the private functions.

8 0
3 years ago
True or false: The objective of an Enterprise Resource Planning (ERP) system is to create a customized software program that int
UkoKoshka [18]

Answer:

True

Explanation:

3 0
3 years ago
Other questions:
  • Which of the following is a primary source?
    6·2 answers
  • Write a program that reads from user (i) an hour between 1 to 12 and (ii) number of hours ahead. The program should print the ti
    15·1 answer
  • This is the formula for the future worth of an investment over time with consistent additional monthly payments and a steady rat
    10·1 answer
  • Write a pseudocode that will take marks of physics, chemistry and math as input, calculates the average and displays output.
    7·2 answers
  • Eugenia told her coach that she was too tired to play. As soon as she said it, she realized that she had made a big mistake. She
    12·1 answer
  • A Windows user right-clicks on his desktop. What is he planning to do?
    10·1 answer
  • Which of the following is an advantage of computer usage? *
    10·1 answer
  • How many passes will it take to find the five in this list?
    14·2 answers
  • Re:
    15·1 answer
  • Which of the following responses is the best example of a problem that can be solved using a computer program?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!