cs401Assignment2

CS-401 Assignment # 2 Only on VUObjects

1st of all run this code in your Dos Box & than paste 5 Screen Shots in your MS Word Solution file.








Than Paste this Code in your Solution file


mov ah,6
mov al,0
mov bh,7
mov cx,0
mov dl,79
mov dh,24
int 10h
mov ah,2
mov bh,0
mov dh,0
mov dl,0
int 10h
call input
input:
maxlength: dw 8
buffer: times 8 db 0
mov cx, [maxlength]
mov si, buffer
nextchar: mov ah, 1 ;
int 0x21
cmp al, 13
je exit
mov [si], al
inc si
loop nextchar
exit:
int 0x21
mov ax, 0x4c00
int 0x21


Comments

Popular posts from this blog