1) How to print message in 8086 Microprocessor
2) How to print number in 8086 Microprocessor
3) How to print array in 8086 Microprocessor
Check this: https://codingatharva.blogspot.com/2019/01/program-to-print-array-using-loop-8086.html
4) How to print new line in 8086 Microprocessor
5) How to print space in 8086 Microprocessor
MOV DX , 0H
MOV AH , 02
6) How to print 2 digit number in 8086 Microprocessor
First digit iin AH i.e 1
Second digit iin AL i.e 2
7) How to input number in 8086 Microprocessor
AL will contain the input number
MSG1 DB "MY FIRST PROGRAM IN 8086$"
LEA DX,MSG1
MOV AH,09H
INT 21H
Check this : https://codingatharva.blogspot.com/2019/01/first-program-in-8086.html
LEA DX,MSG1
MOV AH,09H
INT 21H
Check this : https://codingatharva.blogspot.com/2019/01/first-program-in-8086.html
2) How to print number in 8086 Microprocessor
MOV AX , 02H
MOV DX , AX
ADD DX,48
MOV AH,2
INT 21H
MOV DX , AX
ADD DX,48
MOV AH,2
INT 21H
3) How to print array in 8086 Microprocessor
Check this: https://codingatharva.blogspot.com/2019/01/program-to-print-array-using-loop-8086.html
4) How to print new line in 8086 Microprocessor
MOV AH , 2
MOV DL , 0DH ;CARGE RETURN
INT 21H
MOV DL , 0AH ;LINE FEED
INT 21H
MOV DL , 0DH ;CARGE RETURN
INT 21H
MOV DL , 0AH ;LINE FEED
INT 21H
5) How to print space in 8086 Microprocessor
MOV DX , 0H
MOV AH , 02
6) How to print 2 digit number in 8086 Microprocessor
MOV AX , 15
AAM ; INSTRUCTION DIVIDES BY 10
MOV BH , AL
MOV DL , AH
ADD DL , 48
MOV AH , 02
INT 21H
MOV DH , 00
MOV DL , BH
ADD DL , 48
MOV AH , 02
INT 21H
AAM ; INSTRUCTION DIVIDES BY 10
MOV BH , AL
MOV DL , AH
ADD DL , 48
MOV AH , 02
INT 21H
MOV DH , 00
MOV DL , BH
ADD DL , 48
MOV AH , 02
INT 21H
First digit iin AH i.e 1
Second digit iin AL i.e 2
7) How to input number in 8086 Microprocessor
MOV AH,1 ; SERVICE ROUTINE 1 INPUT
INT 21H ; INTERUPT 21H F0R GOING ON INPUT/OUTPUT SCREEN
INT 21H ; INTERUPT 21H F0R GOING ON INPUT/OUTPUT SCREEN
AL will contain the input number