Given: edx=9, ebx=21, esp=230, ecx=10, m[60]= 2, edi= 18, and eip=x00c, Computation table 1 shows...

50.1K

Verified Solution

Question

Accounting

image

Given: edx=9, ebx=21, esp=230, ecx=10, m[60]= 2, edi= 18, and eip=x00c, Computation table 1 shows the generic and specific transfer and computation for subl instruction. Do similar tables for the next five instructions. sub! %edx, ebx addl %ebx , %edi mrmov! 0x30[%edi], %eax addl Sebx, %eax rmmovl %eax, 0x34[%edi] imp. 0x2000 Generic Specific Stage OP1 IA, IB subl %edx, %ebx Fetch icode:ifun --M,[PC] icode:ifun -- M1 [0x00c] = 6:1 TA:18 --M, (PC + 1] TA:18 --M [Oxood]= 2:3 valp - PC + 2 valp -- 0x00c + 2 = 0x00e Decode vald - RITA) valA - R[%edx] = 9 valb --R[B] valB --R[Xebx) = 21 Execute vale -- valB OP vala vale - 21 - 9=12 Set CC ZF--O, SF--,OF--0 Memory Write back R[TB] -vale R[/ebx] --vale = 12 PC update PC valp PC valP = 0x00e Computation table 1 Given: edx=9, ebx=21, esp=230, ecx=10, m[60]= 2, edi= 18, and eip=x00c, Computation table 1 shows the generic and specific transfer and computation for subl instruction. Do similar tables for the next five instructions. sub! %edx, ebx addl %ebx , %edi mrmov! 0x30[%edi], %eax addl Sebx, %eax rmmovl %eax, 0x34[%edi] imp. 0x2000 Generic Specific Stage OP1 IA, IB subl %edx, %ebx Fetch icode:ifun --M,[PC] icode:ifun -- M1 [0x00c] = 6:1 TA:18 --M, (PC + 1] TA:18 --M [Oxood]= 2:3 valp - PC + 2 valp -- 0x00c + 2 = 0x00e Decode vald - RITA) valA - R[%edx] = 9 valb --R[B] valB --R[Xebx) = 21 Execute vale -- valB OP vala vale - 21 - 9=12 Set CC ZF--O, SF--,OF--0 Memory Write back R[TB] -vale R[/ebx] --vale = 12 PC update PC valp PC valP = 0x00e Computation table 1

Answer & Explanation Solved by verified expert
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students