Question: Find the values of general pupose registers for each code after executing all lines of each code seperately which will be assembled with TASM. Assume
Find the values of general pupose registers for each code after executing all lines of each code seperately which will be assembled with TASM. Assume that initial values of all general purpose registers for both codes are 4793 (in base 10). (Give your answers in hexadecimal and do not erase modified value, just put a comma and write the new value, e.g. AX: 36 4E, 67 7A, ...)
Find the values of general pupose registers for each code after executing all lines of each code seperately which will be assembled with TASM. Assume that initial values of all general purpose registers for both codes are 4793 (in base 10). (Give your answers in hexadecimal and do not erase modified value, just put a comma and write the new value. Time left 1:11:51 67 7A, ...) (i) MOV BX,83 ADD AL,78 NOT CX MUL DH DEC BH AND CL, DH XOR DX,BX ROR DX, CL SUB AX, BX SHR AH,CL SAL AL,CL SUB AL,62 AAA (ii) AND AX, 2941 MOV BX, AX DIV AL AND CX,AX MOV DX, AX OR BH,80 SHR CX,1 AND AH, 71 DEC CL MUL DL AAM SAR BX,CL (0) AX: BX: Cx: DX: (ii) |AX: BX: CX: DX
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
