Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

text: 0 0 4 0 1 0 0 0 ; int _ _ cdecl main ( int argc,const char * * argv , const char

text:00401000 ; int __cdecl main(int argc,const char **argv, const char *envp)
.text:00401000
.text:00401000 var_4= dword ptr -4 ;
.text:00401000 argc = dword ptr 8
.text:00401000 argv = dword ptr 0Ch
.text:00401000 envp = dword ptr 10h
.text:00401000
.text:00401000 push ebp
.text:00401001 mov ebp, esp
.text:00401003 push ecx
.text:00401004 mov [ebp+var_4],0
.text:0040100B jmp short loc_401016
.text:0040100D ; ---------------------------------------------------------------------------
.text:0040100D
.text:0040100D loc_40100D: ;CODE XREF: _main+2Ej
.text:0040100D mov eax, [ebp+var_4]
.text:00401010 add eax, 1
.text:00401013 mov [ebp+var_4], eax
.text:00401016
.text:00401016 loc_401016: ;CODE XREF: _main+Bj
.text:00401016 cmp [ebp+var_4],64h
.text:0040101A jge short loc_401030
.text:0040101C mov ecx, [ebp+var_4]
.text:0040101F push ecx
.text:00401020 push offset aIEqualsD ; "i equals %d
"
.text:00401025 call ds:printf
.text:0040102B add esp, 8
.text:0040102E jmp short loc_40100D
.text:00401030 ; ---------------------------------------------------------------------------
.text:00401030
.text:00401030 loc_401030: ;CODE XREF: _main+1Aj
.text:00401030 xor eax, eax
.text:00401032 mov esp, ebp
.text:00401034 pop ebp
.text:00401035 retn
.text:00401035_main endp
where is the loop statement?

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

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions

Question

How can a company use licensing agreements to enter world markets?

Answered: 1 week ago

Question

Learning is a good thing for everyone. Discuss.

Answered: 1 week ago

Question

What should be the role of managers in HRD?

Answered: 1 week ago

Question

What should be the role of government in HRD?

Answered: 1 week ago