Question: 80X86 Floating Point Architecture PLEASE HELP!!! A-K Suppose that a program s data segment contains fpValue REAL4 0.5 intValue DWORD 6 and that code executed
80X86 Floating Point Architecture PLEASE HELP!!! A-K

Suppose that a program s data segment contains fpValue REAL4 0.5 intValue DWORD 6 and that code executed so far by the program has not changed these values. Suppose also that the floating-point register stack contains ST ST (1) ST (2) ST (3) ST (4) ST (5) ST (6) ST (7) Assume that these values are correct before each instruction below is executed; do not use the "after" state of one problem as the "before" state of the next problem. Give the contents of the floating-point register stack of fpValue and of inValue following execution of the instruction. a. fld st (2) b. fld fpValue c. fild intValue d. fldpi e. fst st (4) f.fstp st (4) g. fst fpValue h. fistp intValue i fxch st (3) j. fadd k. fadd st (3), st Suppose that a program s data segment contains fpValue REAL4 0.5 intValue DWORD 6 and that code executed so far by the program has not changed these values. Suppose also that the floating-point register stack contains ST ST (1) ST (2) ST (3) ST (4) ST (5) ST (6) ST (7) Assume that these values are correct before each instruction below is executed; do not use the "after" state of one problem as the "before" state of the next problem. Give the contents of the floating-point register stack of fpValue and of inValue following execution of the instruction. a. fld st (2) b. fld fpValue c. fild intValue d. fldpi e. fst st (4) f.fstp st (4) g. fst fpValue h. fistp intValue i fxch st (3) j. fadd k. fadd st (3), st
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
