BIOS/DOS CALLS – DISPLAY




ASSUME CS: CODE, DS: DATA
DATA SEGMENT
MSG DB 0DH, 0AH, “GOOD MORNING” , ODH, OAH, “$”
DATA ENDS
CODE SEGMENT
START:     MOV AX, DATA
                  MOV DS, AX
                  MOV AH, 09H
                  MOV DX, OFFSET MSG
                  INT 21H
                  MOV AH, 4CH
                  INT 21H
CODE ENDS

END START

Comments

Popular posts from this blog

C program for multiplication of two matrices.

String copy without using strcpy in C.

C program to find largest and smallest number in an array