subject

Consider the following y86 code:

.pos 0
irmovq list, %rcx
irmovq 8, %rsi
xorq %rdx, %rdx
loop: mrmovq (%rcx), %rax
andq %rax, %rax
je done
addq %rax, %rdx
addq %rsi, %rcx
jmp loop
done: halt
.align 8
list: .quad 0xa
.quad 0xb0
.quad 0xc00
.quad 0xd000
.quad 0

what is stored in register %rdx when the halt statement is reached? give your answer in hex without the leading 0x.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 03:50, dondre54
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
image
Computers and Technology, 23.06.2019 04:20, milkshakegrande101
4. a1. vince owns a television repair shop that is insured undera commercial package policy. the policy includes thebuilding and personal property coverage form and thecauses-of-loss broad form. the declarations page indicatesthat coverage applies to both the building and the namedinsured's business property. explain whether or not thefollowing losses would be covered under his policy. a. a fire occurs on the premises, and the building isbadly damaged. b. a burglar steals some money and securities from anunlocked safe. c. a business computer is damaged by vandals whobreak into the shop after business hours. d. a tornado touches down near the store. several tel-evision sets of customers in the shop for repair aredamaged in the storm. til
Answers: 2
image
Computers and Technology, 24.06.2019 17:30, leenzazou98241
What is the next step if your volume does not work on computer
Answers: 2
image
Computers and Technology, 24.06.2019 20:30, glstephens04
How is energy expended in active transport
Answers: 1
You know the right answer?
Consider the following y86 code:

.pos 0
irmovq list, %rcx
irmovq 8, %rsi

Questions in other subjects:

Konu
Mathematics, 26.03.2021 23:30