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 5631 (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, ...)

(i)  MOV BX,46 MOV AL,AH MOV CX,7878 DEC BH MUL CH INC DL XOR BX,CX SUB CL,99 ROR DX,CL NOT CH ADD CX,BX (ii)  NOT AX SUB AL,DH SUB BX,AX NOT AH DIV AL MOV CX,AX AND AH,49 SUB CL,21 OR DH,128 ADD AL,91 AAA SAR DX,CL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!