Assembly Programming Language Tutorial - Write an Assembly Program to print your name and your student id on the next / following line.
Related Topic : Add two Decimal Numbers in Assembly Language
Output:

Related Topic : Add two Decimal Numbers in Assembly Language
.MODEL SMALL
.STACK 100H
.DATA
MSG1 DB 'My Name Is Shohag$'
MSG2 DB 'Roll: 37$'
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
LEA DX,MSG1
MOV AH,9
INT 21H
MOV AH,2
MOV DL, 0DH
INT 21H
MOV DL,0AH
INT 21H
LEA DX,MSG2
MOV AH,9
INT 21H
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
Output:


0 Comments