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
katrin [286]
3 years ago
11

Assembly (Procedure and Conditional Processing). For the following program, what are outputs for register EAX, EBX, ECX, and EDX

in decimal? include Irvine32.inc .code main proc mov eax, 10 mov ebx, 10 mov ecx, 10 mov edx, 10 call proc1 call DumpRegs exit main endp proc1 proc uses ebx ecx L1: add eax, 1 add ebx, 1 loop L1 cmp ebx, 20 jne return mov edx, 20 return: ret proc1 endp end main EAX = ____________________ EBX = ________________________ ECX = ____________________ EDX = ________________________
Computers and Technology
1 answer:
marta [7]3 years ago
7 0

Answer:

See explaination

Explanation:

Given data:

.code main

mov eax, 10 means eax=10,(now eax register contain 10)

mov ebx ,10 means ebx=10

mov ecx, 10 means ecx=10

mov edx, 10 means edx =10

call proc1 measn invoke the proc1 function

call DumpReg means Display the register

exit main endp means main function closed

///// now proc1 function part'

L1 means it's start a scope as loop

add eax, 1 means increament one or eax=eax+1 => 11 ( because eax was 10 )

add ebx , 1 means ebx=ebx+1 =>11

Loop L1 means this is loop

cmp ebx ,20 compare ebx with 20

jne return means if ebx==20 then jump onto return statement else go ahead

mov edx 20 means edx=20

retunrn : ret proc1 endp endp main means when return statement come it will end then proc1 and redirect to main function;

after exicute this code :

EAX contain 11

EBX contain aslo 11

ECX contain 10

EDX contain 20

You might be interested in
Discuss how the use of digital formats for audio-visual recording and editing has
Zolol [24]

Answer:

Digital formats allow for lossless data storage, fast editing (without the loss of original source material, ie having to manually clip pieces of film), and made collaboration easier.

4 0
3 years ago
What is word processing?
butalik [34]
A. Citing sources for documents you found on the web
3 0
3 years ago
Read 2 more answers
In a ____ environment, you can change directories using the cd command. For example, to change to a directory named MyClasses, y
GrogVix [38]
DOS, is your answer
7 0
3 years ago
In a(n) _____, the web becomes an integral part of the application, rather than just a communication channel, and systems analys
IRISSAK [1]

In an <u>Internet-based system</u>, the web becomes an integral part of the application, rather than just a communication channel, and systems analysts need new application development tools and solutions to handle the new systems.

d) Internet-based system

<u>Explanation:</u>

Web information system, or web-based information system, is a data framework that utilizes Internet web advancements to convey data and administrations, to clients or other data frameworks/applications.

It is a product framework whose primary intention is to distribute and keep up information by utilizing hypertext-based standards. In an Internet-based system, the Web turns into a fundamental piece of the application, instead of only a correspondence channel, and frameworks investigators need new application advancement instruments and solutions to handle the new systems.

7 0
3 years ago
What is the difference between hardware and software?
DIA [1.3K]

Answer:

Computer hardware is any physical device used in or with your machine, whereas software is a collection of code installed onto your computer's hard drive. For example, the computer monitor you are using to read this text and the mouse you are using to navigate this web page are computer hardware.

Explanation:

4 0
4 years ago
Other questions:
  • Use the SQL Server Management Studio to complete the following.
    9·1 answer
  • Please Do Solve it guys...
    6·1 answer
  • A speaker takes a variety of information from the results of a web search, and puts it together in an outline to make up his spe
    8·1 answer
  • Why are ethics important in PR?
    8·1 answer
  • Consider the following statement from the CS Principles course framework: The global distribution of computing resources raises
    12·1 answer
  • Anybody know this question??
    8·1 answer
  • Answer the following questions for Web browser and Web server software: 1. What functions should this software application provi
    7·1 answer
  • to allow excel to change the cell references in a formula or function from row to row or column to column as you fill with it, y
    13·1 answer
  • Which storage device is not recommended as a permanent storage solution?
    6·1 answer
  • In cryptocurrency, a block is only considered valid if it has a.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!