determine the results of the following instructions the symbol table designates
ID: 3806749 • Letter: D
Question
determine the results of the following instructions the symbol table designates an 8 2. Determine the results of the following The symbol table original a byte area instructions. reset to their is value and of word. table and the rs are this wo prior to each set of instructions. 0100. continuation of the previous worksheet. eax ebx edx table oa29cd8932 ecX 0102 045ab 1a 010 03224ab01 a. mul dl b. mul edx c. mov edx,0 div edx d. and eax,ebx e. and bl,cl and ebx, [table 2] or ecx,[table] or eax,ecx not eax not ecX neg edx neg ebxExplanation / Answer
a) mul dl --------------->after this ax =20 and eax =2002
b) mul edx -------------> after this eax = 1020 and edx = 0
c)mov edx,0 ------------> after this edx =0
div edx ---------------->This will divide eax by 0 as edx contains 0, but divide by zero does not exists
d) and eax,ebx ----------->after this eax =0102
e)and bl,cl ----------------->after this bl = 03
f)and ebx,[table+2]-------------->after this ebx =0122
g)or ecx,[table] -------------->after this ecx = 3225ab03
h) or eax,ecx ------------>after this eax =1ab03
i)not eax ------------------>after this eax =FEFD
j)not ecx------------>after this ecx =E54FC
k)neg edx---------->after this edx = FFFFFFF0
l)neg ebx---------->after this ebx = FFFFBA55
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.