Question: ( b ) convert data _ in bytes from decimal to hexa then tell me what will be in ax begins at 1 0 0
b convert datain bytes from decimal to hexa then tell me what will be in ax
begins at H
MODEL SMALL
STACK
DATA
Count EQU
DATAIN DB
Sum DW
CODE
MAIN PROC FAR
MOV AX @DATA
MOV DS AX
MOV CS Count
MOV SI OFFSET DATAIN
MOV AX
BACK: ADD ALSI
JNC OVER
INC AH
OVER: INC SI
DEC CX
JNZ BACK
MOV SUM,AX
MOV AHCH
NT H
MAIN ENDP
END MAIN
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
