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
READ CAREFULLY! There is a difference between moving and copying files.a. Create a directory named . For example, mine would be
OleMash [197]

Answer:

b

Explanation:

8 0
3 years ago
anyone got a class named computer literacy? or sum similar to using Microsoft programs? i need a lotttt of help, im 3 units behi
seropon [69]

Answer:

I use google docs

Explanation:

I am in 6th grade but i am in expert in computers.

6 0
4 years ago
Read 2 more answers
What is performance? Multiple Choice measures how quickly a system performs a process or transaction a system that is not operat
Lilit [14]

Answer: measures how quickly a system performs a process or transaction

Explanation:

Computer performance refers to how well a given computer system performs, which is estimated by its accuracy, efficiency and speed when completing a process or transaction.

A computer performance evaluation will assess a system's resources and outputs to make sure that it´s performing in the best possible way.

Some parameters of performance are latency, speed, throughput, and bandwidth.

8 0
3 years ago
Read 2 more answers
If I was to sort the months of the year in ASCENDING order alphabetically, which
bogdanovich [222]
The answer is C.) April
5 0
3 years ago
Explain the nature of documents that can be suitable for merging
nadezda [96]
It can be a letter, stationery , or any types of template containing the information that you want to send to the vendor or to the customer.

the documents should contain special field codes that you insert which names and addresses reference will be replaced with the information from the data source
4 0
3 years ago
Other questions:
  • Workspace How do the following technologies help you in your quest to become a digital citizen: kiosks, enterprise computing, na
    6·1 answer
  • In 2–3 sentences, describe how you would insert a table into a word-processing document.
    9·2 answers
  • "where is a cookie that is created during a web site visit​ stored?"
    9·1 answer
  • A complete traversal of an n node binary tree is a(n)____ "operation if visiting a node is O(1)for the iterative implementation
    5·1 answer
  • What is the purpose of filters in a data base
    11·1 answer
  • Could this be restored? And is it worth the money it’d take?
    9·2 answers
  • How to connect an Apple Watch series 3 to your iPhone (ASAP)
    6·2 answers
  • With a heat exchanger, the temperature of the process fluid can be measured with a temperature-
    14·1 answer
  • Reesa works for a large real estate company. She is responsible for installing and supporting the company's internet systems, in
    5·1 answer
  • Which option on the Format tab is used to modify particular portions of the chart?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!