Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assuming the following values, fill the table below with values. If no applicable, leave it blank. See Figures 4.2 to 4.4 for icode, ifun, and

Assuming the following values, fill the table below with values. If no applicable, leave it blank. See Figures 4.2 to 4.4 for icode, ifun, and register assignment.

Memory addresses each are 8 bytes (64 bits).

All instructions are at memory address 0x0000.

memory 0x1000: 1 (64 bits)

memory 0x2000: 2 (64 bits)

memory 0x3000: 3 (64 bits)

memory 0x4000: 4 (64 bits)

rax=1, rbx=2, rdx=0x1000, rsp=0x2000

loop is at 0x3000

func is at 0x4000

previous instructions resulted in greater than zero.

If not specified, assume 0 at that memory location.

Instruction icode ifun rA rB valC valA valB dstE dstM srcA valE valM Cnd
addq %rax,%rbx 6 0 0 3
rrmovq %rax,%rbx
irmovq 5,%rbx
mrmovq 5(%rbx),%rax
rmmovq %rax,5(%rdx)
push %rax
pop %rax
jmp loop
call func
ret
cmove %rax,%rbx

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

describe the main employment rights as stated in the law

Answered: 1 week ago