Answered step by step
Verified Expert Solution
Link Copied!

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 4351 (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,21
MOV AL,AH
MOV BH,AL
MOV CX,7979
INC DL
MUL CH
XOR BX,CX
ADD CL,08
DEC DL
ROR DX,CL
NOT CX
SUB AX,0383
AAA
(ii)
DEC BH
NOT AX
SUB AX,DX
PUSH AX
AND CX,AX
MOV AX,BX
DIV AL
POP DX
MOV BX,AX
AND AH,0F0H
INC CX
SAR DX,CL
AAM
Computer engineering Micro processor lesson
Wanted answer :
(i)
AX:
BX:
CX:
DX:
(ii)
AX:
BX:
CX:
DX:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

How will the members be held accountable?

Answered: 1 week ago

Question

a. Do team members trust each other?

Answered: 1 week ago

Question

a. How will the leader be selected?

Answered: 1 week ago