Monday, 6 July 2015

Change The Sign Bit Of DX In Assembly Language Solution.

/*Change The Sign Bit Of DX In Assembly Language Solution.*/

/*
    *
    * Prosen Ghosh
    * American International University - Bangladesh (AIUB)
    *
*/

Solution:

.MODEL SMALL
.STACK 100H
.CODE

MAIN PROC
 
    MOV DX,0000000000000010B
    XOR DX,1000000000000000B
    ADD DX,0000000000110000B
 
    MOV AH,2
    INT 21H

    MOV AH,4CH
    INT 21H
   
    MAIN ENDP
END MAIN

No comments:

Post a Comment