Question: Lab Exercise No - 2: Write a program in 8086 MP to find average of 8-bit numbers. DATA SEGMENT SUM DB 01 DUP(?) DATA ENDS

Lab Exercise No - 2: Write a program in 8086 MP to find average of 8-bit numbers. DATA SEGMENT SUM DB 01 DUP(?) DATA ENDS CODE SEGMENT ASSUME CS:CODE DS:DATA START: MOV AX, DATA MOV DS, AX MOV AX, 00 MOV AL, 04 ADD AL, 02 ADD AL, 08 ADD AL, 03 ADD AL, 03 MOV SUM, AL CODE ENDS END START Lab Submissions: 1. Use procedures, to enter the numbers from keyboard and to find odd/even. 2. Use procedures, to enter numbers from keyboard to also find average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
