the class im taking is assembly programming. using visual studio x86 masm. i have wrote the program but gets a linking error. but successfully compiles. i have attached a screenshot of my work. please review and show me how to fix please. thank you very much!

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

the class im taking is assembly programming. using visual studio x86 masm.

i have wrote the program but gets a linking error. but successfully compiles. i have attached a screenshot of my work. please review and show me how to fix please. thank you very much!

;Compiler i used: Visual Studio 2019
9
10
11 ;start of program
12
13. INCLUDE C:\Irvine\Irvine32.inc
14
15
.code
16
17 FindLargest PROC,
18 array_num: PTR DWORD,
19
arraySize: DWORD
20
21
mov esi, array_num
22 mov ecx, arraySize
23 mov eax, [esi]
24
dec ecx
25
scan_array:
26
add esi, 4
27
mov ebx, [esi]
28
cmp ebx, eax
29
JLE check_number
30
mov eax, ebx
31
check_number:
32 loop scan_array
33
ret
34 FindLargest ENDP
35
END
36
%
No issues found
put
ow output from: Build
- Build started: Project: project 11, Configuration: Debug Win32
•Assembling
14
LINK error LNK2001: unresolved external symbol _mainCRTStartup
C:\Users\-source\repos\project 11\Debug\project 11.exe: fatal error LNK1120: 1 unresolved externals
Done building project "project 11.vcxproj" FAILED.
========= Build: 0 succeeded, 1 failed, up-to-date, 0 skipped
--
==========
Transcribed Image Text:;Compiler i used: Visual Studio 2019 9 10 11 ;start of program 12 13. INCLUDE C:\Irvine\Irvine32.inc 14 15 .code 16 17 FindLargest PROC, 18 array_num: PTR DWORD, 19 arraySize: DWORD 20 21 mov esi, array_num 22 mov ecx, arraySize 23 mov eax, [esi] 24 dec ecx 25 scan_array: 26 add esi, 4 27 mov ebx, [esi] 28 cmp ebx, eax 29 JLE check_number 30 mov eax, ebx 31 check_number: 32 loop scan_array 33 ret 34 FindLargest ENDP 35 END 36 % No issues found put ow output from: Build - Build started: Project: project 11, Configuration: Debug Win32 •Assembling 14 LINK error LNK2001: unresolved external symbol _mainCRTStartup C:\Users\-source\repos\project 11\Debug\project 11.exe: fatal error LNK1120: 1 unresolved externals Done building project "project 11.vcxproj" FAILED. ========= Build: 0 succeeded, 1 failed, up-to-date, 0 skipped -- ==========
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY