write an assembly language program to determine


Write an assembly language program to determine average of 'n' integers.

Ans

 MOV AX, 0000; Initial sum 0000

 MOV BX, 0000

 MOV SI, 0201H

 MOV CX, [SI]

 BACK: INC SI

 INC SI

ADD AX, [SI]

JAE GO

INC BX

GO: LOOP BACK

MOV [0401], AX

MOV [0403], BX

 INT 3

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: write an assembly language program to determine
Reference No:- TGS0288645

Expected delivery within 24 Hours