subject

As you know, the popq instruction modifies the stack pointer (%rsp).

.pos 0
irmovq stack,%rsp # initialize stack pointer
irmovq n, %rax
mrmovq (%rax), %rax
pushq %rax # put known value on stack
popq %rsp # either get 0x5, or 0x100
halt
.align 8
n: .quad 5
.pos 0x100
stack:

since you are writing a simulator for the y86 processor, it is important for you to know the final value of %rsp when the instruction "popq %rsp" is executed the value from memory or the incremented %rsp. in the code above, what is the value of %rsp when the halt is reached? give your answer in decimal or hex but omit the leading 0x.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:40
Write a function 'music_func' that takes 3 parameters -- music type, music group, vocalist -- and prints them all out as shown in the example below. in case no input is provided by the user, the function should assume these values for the parameters: "classic rock", "the beatles", "freddie mercury". for example: input: alternative rock,pearl jam,chris cornell output: the best kind of music is alternative rock the best music group is pearl jam the best lead vocalist is chris cornell note: the print statements will go inside the for example: print("the best kind of music is"
Answers: 2
question
Computers and Technology, 22.06.2019 17:50
Farah works in an office with two other employees. all three share a printer and an internet connection. the utility that makes this possible is defragger quicktime soho winzip
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
question
Computers and Technology, 24.06.2019 05:00
Who is most likely be your target audience if you create a slide presentation that had yellow background and purple text
Answers: 2
You know the right answer?
As you know, the popq instruction modifies the stack pointer (%rsp).

.pos 0
irmovq...
Questions
question
Mathematics, 23.08.2019 14:00
question
Mathematics, 23.08.2019 14:00
question
Mathematics, 23.08.2019 14:00
question
Mathematics, 23.08.2019 14:00