Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions 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
--
==========
expand button
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
Check Mark
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY