Question: L 1 : mov eax, [ esi ] cmp eax, 5 0 jl skip ;if grade is less than 5 0 , skip to the
L:
mov eax, esi
cmp eax,
jl skip ;if grade is less than skip to the next iteration
sub eax, ;subtract from grade
mov edx, eax
add edx, ;divide by to get the number of stars to display
shr edx,
mov ecx, edx ;ecx is the number of stars to display
L:
output stars
loop L
skip:
add esi, ;move to the next element in the array
loop L
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
