6 Program to add two number using Immediate Addressing in 8086 Microprocessor

; PROGRAM TO ADD NUMBER USING IMMEDIATE

.MODEL SMALL
.STACK 100
.CODE
 MOV AL,40
 ADD AL,50

 MOV DL,AL

 MOV AH,02
 INT 21H

 MOV AH,4CH
 INT 21H

END

Previous
Next Post »