2 Program to add two number in 8086 Microprocessor

.MODEL SMALL
.STACK 100
.DATA
 NUM1 DB 01H
 NUM2 DB 01H
 NUM3 DB ?

.CODE

  MOV  AX,@DATA
  MOV  DS,AX

  MOV AL,NUM1

  ADD AL,NUM2

  MOV NUM3,AL

 
  ENDS
  END

Previous
Next Post »