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
Several years ago, Jaime began to operate a small home business. He was very excited by the new features of Windows 95. These ne
Dmitriy789 [7]

1. A complete operating system rather than a graphical user interface running on top of MS-DOS.

After boot up, the system completely run without MS-DOS environment.

2. Improved windows control and appearance of windows

Windows 95 has a new system control that located on the upper left corner of each window as an icon. In the upper right of each window, it has a new designed system box. Usually, it displays "Minimize", "Maximize/Restore" and new added "Close" buttons.

3. New introduced Desktop

Not only to store minimized icons, Windows desktop in Windows 95 can store files, shortcuts and system icons such as "My Computer" and "Recycle Bin".

4. Right button menu

Right click an object in system usually can bring a pop-up menu with some items like "edit", "copy", "paste", "properties" and "help".

5. New help system

The help window can resize and jump to anywhere in the screen. It splits to two areas in which left side is the index or keyword window and the right side is the content window.

6. Task bar and start menu

Similar to the concept of reserved area in Windows 1.x, Windows 95 began to have a task bar to store the links that can active or inactive an running program and display some system information in the tray area. A start menu was include in the task bar can let user access the shortcuts to all programs in a tree structure menu system.

7. Build-in network support with dial-up for different protocols

The build-in dial-up with support of TCP/IP protocol made user easier to access Internet. In OSR2 version of Windows 95, Microsoft began to integrate Microsoft Internet Explorer in Windows 95.

8. Folder view of all kinds of files and resources

In Windows 95, files, drives, shortcuts and network resources can all be displayed in a folder view in the new Windows Explorer which replaced Program Manager in pervious version of Windows.

9. Support of 32 bit application, pre-emptive multitasking and thread

These functions made Windows 95 to have the ability to run more complex tasks and programs.

3 0
3 years ago
In the SoundByte, the Magic Gradient Pen has an algorithm which listens for ________ and then changes the gradient coloring of t
kirill [66]

Answer:

It listens for sound intensity

Explanation:

It listens for the sound intensity and loudness. As the intensity varies the background color changes as well.

4 0
4 years ago
Read 2 more answers
Which is an example of an incremental approach to solving a problem?
zvonat [6]

Explanation:

One of the things I’ve been writing and talking about a lot lately is the fact that solving problems collaboratively is an incremental process. In fact, in my book, Lost at School, I made mention of the fact that the model could just as easily have been called Incremental Problem Solving or Progressive Problem Solving. I thought the collaborative aspect of the model was the most important to emphasize, but that doesn’t mean that the incremental component isn’t almost as crucial. Often people who are new to the model enter the process of resolving a problem as if it’s a one-shot deal. If you have experience in using Plan B, you already know that most problems require more than one visit to Plan B to resolve. In other words, longstanding, complicated problems aren’t likely to be resolved the first time you try to discuss them. There’s a lot of information to be processed before a given problem can be solved. You need to gather information so as to achieve the clearest possible understanding of the kid’s concern or perspective on the problem (for the unfamiliar, that’s called the Empathy step). Then, you need to be clear about and articulate your own concern (that’s the Define the Problem step). Then, you’ll want to brainstorm with the kid so as to consider the array of potential solutions that could be applied to the problem and consider whether each solution truly addresses the concerns of both parties (that’s the Invitation). There’s a good chance you won’t even make it through all three steps of Plan B in the first attempt on a given unsolved problem (nor should you necessarily even try). If Plan B were a “technique,” then disappointment over not making it through all three steps in one conversation would be understandable. But Plan B is not a technique, it’s a process. As I’ve often emphasized, if you only make it through the Empathy step in the first attempt at Plan B on a given problem but you emerge with a clear sense of a kid’s concern or perspective on a problem that’s been causing significant angst or conflict, that’s quite an accomplishment. You’ll get back to the remaining steps at your earliest opportunity. There’s also an excellent chance the first solution you and the kid agree on won’t solve the problem durably. As you may know, this is usually because the original solution wasn’t as realistic and mutually satisfactory as the two parties first thought. But it could also be because the concerns weren’t as clear or simple as it first seemed. If a solution doesn’t stand the test of time, your goal is to figure out why, which means gathering additional information about the concerns of the two parties and why the solution may not be working so well. Plan B should always conclude with both parties agreeing to return to the problem if the solution being agreed upon doesn’t solve the problem durably. So if your enthusiasm for Plan B waned because your first solution didn’t stand the test of time, take heart: that’s not unusual. Many people enter Plan B with great hope, eager to see their new approach to helping a challenging kid pay quick dividends. In fact, Plan B may well pay quick dividends…not necessarily because the problem is yet durably solved, but because of the relationship- and communication-enhancing that occurs. And while the occasional problem – often simple ones – can be resolved with one visit to Plan B, now you know that several repetitions of Plan B may be necessary on each unsolved problem. Thanks for reading.

8 0
3 years ago
What is the difference between hollerith and burroughs machine
daser333 [38]

The difference between Hollerith and Burroughs machine is that Hollerith  have a pantograph that is used to create punch cards but the other is different.

<h3>What is a Hollerith machine?</h3>

A Hollerith machine is known to be a kind of a specific type of electromechanical machine that was known to be used as an information-processing resource in all of the early 20th century.

Note that the machine is said to be one that uses a system that has electrical and mechanical signals, and also some set of wires placed over pools of mercury on paper punch cards.

Therefore, The difference between Hollerith and Burroughs machine is that Hollerith  have a pantograph that is used to create punch cards but the other is different.

Learn more about Burroughs machine   from

brainly.com/question/15241347

#SPJ1

6 0
2 years ago
Which of the following policy guidelines specifies the restrictions on user access
Levart [38]

The policy guidelines that specifies such restrictions on user access can be referred to as: A. Least privilege.

<h3>What is the Least Privilege Principle?</h3>

The least privilege principle can be described as a concept in information security and policy guidelines that gives a user minimum permission or levels of access that they are needed to execute a tasks.

Therefore, the policy guidelines that specifies such restrictions on user access can be referred to as: A. Least privilege.

Learn more about least privilege on:

brainly.com/question/4365850

6 0
3 years ago
Other questions:
  • What are the main types of software? Explain with appropriate examplesWhat are the main types of software? Explain with appropri
    12·2 answers
  • Which set of steps will organize the data to only show foods with more than 100 calories and rank their sugar content from great
    8·1 answer
  • An app builder wants to show groups as the last navigation menu item in the Salesforce1 mobile app. However, the app builder is
    8·1 answer
  • Computers store temporary Internet files in the Recycle Bin. These files take up space and slow down a computer. Which tool can
    14·1 answer
  • Which code will allow Joe to print Coding is fun. on the screen? print("Coding is fun.") print(Coding is fun.) print = (Coding i
    10·2 answers
  • Is the following statement TRUE or FALSE?
    9·1 answer
  • When you hear the word "automation" what comes to mind?
    6·1 answer
  • Adding Calculator Write a program that simulates an adding machine. Input to the program will be integers, submitted one per lin
    15·1 answer
  • who thinks homework is anoyying? (freddy randomly started thinking scince he was the leader he caould start acting like a teache
    8·2 answers
  • what motivators should the action section of your sales message include? check all that apply. a satisfaction guarantee a proof
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!