- Get link
- X
- Other Apps
Program
MOV SI,2000H
MOV AL,00H
MOV CL,00H
ABOVE : CMP AL,[SI]
JA L1 (If CF = ZF = 0)
JE L2 (If ZF = 1)
L1 : INC CL
INC SI
JMP ABOVE
L2 : INC SI
MOV [SI],CL
INT 03H
Note: Last value should be taken as 00h
Comments
Post a Comment