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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 03:30
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
question
Computers and Technology, 24.06.2019 07:50
Write a defining table and then a program that determines if you can sleep in or not. your program should get all its input from your computer’s clock. on all weekdays (monday through friday) that are not holidays, your program should output “get up! ” on all other days (weekends and holidays), your program should output “sleep in.” the three holidays that your program must check for are january 1 (new year’s day), july 4 (u.s. independence day), and december 25 (christmas). you don’t need to include other holidays in your program because most other holidays do not occur on a fixed day each year.
Answers: 1
question
Computers and Technology, 24.06.2019 08:50
Write a program that will compute the volume of ice cream served in a cone. as you can see in the diagram below, the ice cream is served as a hemisphere of frozen deliciousness on top of a cone, which is also packed with frozen deliciousness. thus, the total volume of ice cream sold is the volume of the hemisphere plus the volume of the cone. the example shows an ice cream cone in which the hemisphere and cone have a radius of 10 inches and the cone has a height of 15 inches. your program must instead prompt for these two values, which are taken from the keyboard as integers: • the hemisphere/cone radius in inches, and
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
You know the right answer?
Consider the following y86 code:

.pos 0
irmovq list, %rcx
irmovq 8, %rsi
Questions
question
Mathematics, 11.12.2020 04:40
question
Mathematics, 11.12.2020 04:40
question
Mathematics, 11.12.2020 04:40
question
Mathematics, 11.12.2020 04:40
question
Mathematics, 11.12.2020 04:40