Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
240 B
0
Indexable
Never
.CODE
MAIN PROC
    MOV AX,DATA
    MOV DS,AX
    MOV CL,COUNT
    DEC CL
    LEA SI,VALUE
    MOV AL,[SI]
UP: INC SI
    CMP AL,[SI]
    JNL NXT
    MOV AL,[SI]
NXT:DEC CL
    JNZ UP
    LEA AI,RES
    MOV [DI],AL
END MAIN 
Leave a Comment