Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write out how to preform the following all variables are char. a is 0x100, b is 0x200, c is 0x300. Set up registers at the

Write out how to preform the following all variables are char. a is 0x100, b is 0x200, c is 0x300. Set up registers at the beginning using loads and tell me what each register is being used for. Also pay attention to the type of GPR

c = (a[0] + b[3]) /a[2]

(0,3) GPR only using register direct, immediate addressing and register indirect.

(3,3) GPR only using register direct, immediate addressing and register indirect with displacement

(3,3) GPR only using register direct, immediate addressing and register indirect with index register

(1,2) GPR only using register direct, immediate addressing and register indirect with displacement

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

More Books

Students also viewed these Databases questions