Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

subject: microprocessor use software toll as, emulator 8086 only I want complete

ID: 3724602 • Letter: S

Question

subject: microprocessor
use software toll as,
emulator 8086 only
I want complete solution to the question.
please solve carefully.
I am expecting full answer.
use ASSEMBLY LANGUAGE only.

The wind speed is recorded for each month and stored in a table. A front panel has to be designed to display the average wind speed B2.1. Develop a flow chart to determine the average wind speed per month. B2.2. Develop an assembly language program for the flow chart in B2.1 The program should store the following in an array: Number of months in the Nth memory location Recorded values of wind speed from (N+1)th memory location onwards The result should be stored in last memory location of an array B2.3. Verify the program using suitable software

Explanation / Answer

DATA Values NUM1 DB 5 NUM2 DB 9 NUM3 DB 7 AVG DB ? ENDS CODE SEGMENT ASSUME DS:DATA CS:CODE START: MOV AX,DATA MOV DS,AX MOV AL,NUM1 ADD AL,NUM2 ADD AL,NUM3 MOV AH,0 MOV DL,3 DIV DL MOV AVG,AL MOV AH,4CH INT 21H ENDS END START