Question
1) Write out how to preform the following all variables are char. a is 0x100, b is 0x200, c is 0x300. Set up registers at
1) 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started