Question: Given the below variables declared in a C++ program: int x = 5; int y = 7; int 2- 19; int w 4; int
Given the below variables declared in a C++ program: int x = 5; int y = 7; int 2- 19; int w 4; int r1, r2, r3, r4; write the appropriate inline assembly code to calculate the following: r1 = x + y r2 =y-x r3=x-y+z r4 = (w-x) + (z-y)
Step by Step Solution
3.52 Rating (159 Votes )
There are 3 Steps involved in it
int x 51 int y 75 int z 19 int w 4 int r1 r2 r3 r4 asm volatile ... View full answer
Get step-by-step solutions from verified subject matter experts
