Friday, 3 April 2015

Print a single charector using dl register

;to print the content of the dl register
; we need to do the following steps

; first mov 02 to the ah register

 mov ah,02

; second mov the value u wanna print into the dl register
;remember only single char is allowed

 mov dl,'a'

 

; now call the int 21h function

int 21h

; now run the program


output:-

Hope this video helps:-




No comments:

Post a Comment