9 Program to subtract two number using Register Addressing in 8086 Microprocessor

;PROGRAM ON REGISTER SUBSTRACTION
.MODEL SMALL
.STACK 100
.CODE
   MOV AL,3
   MOV DL,4

   SUB DL,3

   ADD DL,48

   MOV AH,2
   INT 21H

   MOV AH,4CH
   INT 21H

END

Previous
Next Post »