Answered step by step
Verified Expert Solution
Question
1 Approved Answer
can you assist in helping to debug this? ebp+12 is array1, ebp+8 is array2. im trying to count the repeating values in array 1 and
can you assist in helping to debug this? ebp+12 is array1, ebp+8 is array2. im trying to count the repeating values in array 1 and put them in 2. thanks countList PROC push mov mov ebp ebp, esp edx, 1 ecx, ARRAYSIZE edi, [ebp+12] ebx, [edi] mov mov mov countLoop: sub ebx, LO mov esi, [ebp+8] add esi, ebx add [esi], edx mov eax, [esi] call WriteDec add edi, 4 mov ebx, [edi] loop countLoop pop ebp ret 8 countList ENDP
can you assist in helping to debug this?
ebp+12 is array1, ebp+8 is array2. im trying to count the repeating values in array 1 and put them in 2. thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started