You are here : assembly8086 INT 21HAH09H

AH=09H - 8086 INT 21H

AH = 09h - WRITE STRING TO STANDARD OUTPUT

Entry: DS:DX -> '$'-terminated string

Return: AL = 24h


Syntax

MOV AH,09H
INT 21H


Example

.data
	msg db 'Hello World $'
.code
	...
	...
	lea dx,msg
	mov ah,09h
	int 21h		;Displays msg on screen (prints on console/dos prompt)
	...
	...
	end


Output / Return Value

Return: AL = 24h


Limitations


Alternatives / See Also


Reference