Question: (16%) In the following instruction sequence, show the changed value of EAx where indicated (show value in hexadecimal): Employee STRUCT IdNum BYTE 000000 LastName BYTE
(16%) In the following instruction sequence, show the changed value of EAx where indicated (show value in hexadecimal): Employee STRUCT IdNum BYTE "000000" LastName BYTE 15 DUP (0) SalaryHistory DWORD 0,0,0,0 Employee ENDS .data NumWorkers = 12 worker Employee RD_Dept Employee NumWorkers DUP (> ; (a) ; (c) ; (e) . code mov eax, LENGTHOF worker mov eax, LENGTHOF worker. LastName; (b) mov eax, LENGTHOF RD_Dept mov eax, SIZEOF RD_Dept ; (d) mov eax, (Employee PTR RD_Dept [0]).SalaryHistory mov edi, 0 mov ecx, NumWorkers mov eax, 35000 Ll: mov (Employee PTR RD_Dept [edi]).SalaryHistory+8, eax add edi, TYPE Employee sub eax, 500 Loop Li ; (f) mov al, 01101011b shr al, 2 mov dx, 5000h mov ax, 20h mul dx ; (g) ; (h)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
