Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Really confused. Can anyone help me with this? (gdb) disas Dump of assembler code for function phase 5: 0x00000000004010fe : mov sub lea lea %rsp,%rbp

image text in transcribed

Really confused. Can anyone help me with this?

(gdb) disas Dump of assembler code for function phase 5: 0x00000000004010fe : mov sub lea lea %rsp,%rbp $6x10,%rsp -9x4 (%rbp ) ,%r8 -9x8 (%rbp ) ,%rcx 0x0000000000401102 : 6x0000000000401106 6x000000000040110a 8> : : 8x0000000000401112 2e> : mov $6x4029ca,%esi 0x0000000000401117 : mov $6x0,%eax 0x000000000040111c : callq6x400c70 : cmp $6x2 , %eax exe0e0000000401124 c+38 g 0x40112b 6x000000000040112b : mov -exc (%rbp) ,%eax 0xe000000e0040112e +48>: and sexf, seax exeeeeeeeeee401131 : mov %eax,_6xc (%rbp) 6x0000000000401134 : mov $6xe,%edx ! 0x0000000000401139 : mov $exe,tecx 6x000000000040113e : add %eax , %ecx 0x0000000900401140 : cltq 6xeeeeeeeeee401142 : mov 6x402740 ('%rax,4),%eax 6x0000000000401149 : sub $6x1,%edx exee0e00000040114c 0x000000000040114e 6x0000000000401153 : cmp -9x4 (%rbp ) ,%ecx 0xe000000000401156 exeee0000000401158 0x000000000040115d retq End of assembler dump (gdb) x/s $0x4029ca Value can't be converted to integer. (gdb) x/s 0x4029ca 0x4029ca: (gdb) x/16dw 0x402740 0x402740 : 0x402760 0x402770 array, 3602+48>: 13 12 14 (gdb) disas Dump of assembler code for function phase 5: 0x00000000004010fe : mov sub lea lea %rsp,%rbp $6x10,%rsp -9x4 (%rbp ) ,%r8 -9x8 (%rbp ) ,%rcx 0x0000000000401102 : 6x0000000000401106 6x000000000040110a 8> : : 8x0000000000401112 2e> : mov $6x4029ca,%esi 0x0000000000401117 : mov $6x0,%eax 0x000000000040111c : callq6x400c70 : cmp $6x2 , %eax exe0e0000000401124 c+38 g 0x40112b 6x000000000040112b : mov -exc (%rbp) ,%eax 0xe000000e0040112e +48>: and sexf, seax exeeeeeeeeee401131 : mov %eax,_6xc (%rbp) 6x0000000000401134 : mov $6xe,%edx ! 0x0000000000401139 : mov $exe,tecx 6x000000000040113e : add %eax , %ecx 0x0000000900401140 : cltq 6xeeeeeeeeee401142 : mov 6x402740 ('%rax,4),%eax 6x0000000000401149 : sub $6x1,%edx exee0e00000040114c 0x000000000040114e 6x0000000000401153 : cmp -9x4 (%rbp ) ,%ecx 0xe000000000401156 exeee0000000401158 0x000000000040115d retq End of assembler dump (gdb) x/s $0x4029ca Value can't be converted to integer. (gdb) x/s 0x4029ca 0x4029ca: (gdb) x/16dw 0x402740 0x402740 : 0x402760 0x402770 array, 3602+48>: 13 12 14

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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

Students also viewed these Databases questions