`.model small
.stack 100
.data
kernel DB 10 DUP(1)
input DB 1, 2, 3, 4, 5, 6, 7
output DB 0, 0, 0, 0, 0, 0, 0
.code
MAIN PROC FAR
MOV AX, @DATA
MOV DS, AX
LEA BX, input
LEA DI, output
MOV AX, 0 ;1st element starts here
MOV CX, 6
MOV SI, BX
CALL SUM
MOV BH, 6
DIV BH
MOV [DI], AL ;1st element ends here
MOV AX, 0 ;2nd, 3rd, 4th and 5th elements start here
MOV CX, 7
MOV SI, BX
CALL SUM
MOV BH, 7
DIV BH
MOV [DI+1], AL
MOV [DI+2], AL
MOV [DI+3], AL
MOV [DI+4], AL ;2nd, 3rd, 4th and 5th elements start here
MOV AX, 0 ;6th element starts here
MOV CX, 6
MOV DX, BX
INC DX
MOV SI, DX
CALL SUM
MOV BH, 6
DIV BH
MOV [DI+5], AL ;6th element ends here
MOV AX, 0 ;7th element starts here
MOV CX, 5
MOV DX, BX
INC DX
INC DX
MOV SI, DX
CALL SUM
MOV BH, 5
DIV BH
MOV [DI+6], AL ;7th element ends here
LEA SI, output
MOV CX, 7
CALL PRINT ;print the output array
CALL EXIT ;exit
MAIN ENDP
SUM PROC FAR ;sum procedure to add elements of the input
ADD AL, [SI]
INC SI
DEC CX
JNZ SUM
RET
SUM ENDP ;sum ends here
PRINT PROC FAR ;print the output array
MOV DL, [SI]
MOV AH, 2
INT 21H
INC SI
DEC CX
JNZ PRINT
RET
PRINT ENDP
EXIT PROC FAR
MOV AH, 4CH
INT 21H
EXIT ENDP
END MAIN
i'm getting this error`