CPE 005 Assignment No. 6 CN: 02 Name: Abelgas, Arnold Jay M. Section: CPE42FB2 Date: 12-11-16
CPE 005 Assignment No. 6 CN: 02 Name: Abelgas, Arnold Jay M. Section: CPE42FB2 Date: 12-11-16
Assignment no. 6
CN: 02 Name: Abelgas, Arnold Jay M. Section: CPE42FB2 Date: 12-11-16
INT 21h, function 9 print 'valid' string ('$' terminated) (not ASCIIZ string 0 terminated)
input: AH: 9
DX: address (offset) of valid string in memory
output: none
What's output?
mov DL, 65
mov AH, 2
int 21h
mov AH, 9
lea DX, PRMPT
int 21h
mov AH, 2
mov AL, 30h ; same as '0'
int 21h
mov AL, 31h ; same as '1'
int 21h
mov AL, 32h ; same as '2'
int 21h
mov AL, 33h ; same as '3'
int 21h