Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started