write a program contains a subroutine that finds how many en

write a program contains a subroutine that finds how many entries are greater than $20

Solution

Mov SI,4000

Mov cx,00h

Loop1:Mov ax,[SI]

Call loop

Inc SI

JMP LOOP1

Int 03h

Loop: cmp ax,20h

Jnz loop2

Inc cx

Loop2: ret

This is the program related to 8086 microprocesor.

write a program contains a subroutine that finds how many entries are greater than $20SolutionMov SI,4000 Mov cx,00h Loop1:Mov ax,[SI] Call loop Inc SI JMP LOOP

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site