Page 1 of 1

a. (30 pts) Write an assembly language program that works like the following C-like program: ; LOOP QUESTION sum = 0 x =

Posted: Thu May 26, 2022 9:57 am
by answerhappygod
A 30 Pts Write An Assembly Language Program That Works Like The Following C Like Program Loop Question Sum 0 X 1
A 30 Pts Write An Assembly Language Program That Works Like The Following C Like Program Loop Question Sum 0 X 1 (19.89 KiB) Viewed 15 times
a. (30 pts) Write an assembly language program that works like the following C-like program: ; LOOP QUESTION sum = 0 x = 10 while (x >= 6) { sum = sum + 2 * x X-- }| b. (30 pts) Write an assembly language program that works like the following C-like program: ; ARRAY QUESTION int A[5] = {3, 11, 8, 17, 19}; int B[5]; i=0 while (i <=5) { B = 2 * A + 1; i++; }