Professional Documents
Culture Documents
Csci16b Final Experiment
Csci16b Final Experiment
Program:
mov ah,02 mov dl,41 int 21 push dx add dl,21 int 21 mov dl,0a int 21 pop dx add dl,02 cmp dl,5b
sub dl,20 int 21 pop dx inc dl cmp dl,6f 2. Display the following output: aAbBcCdDeEfFgGhHiIjJkKlLmMnN Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz jne 0104 mov dl,0a int 21 mov dl,0d int 21 mov dl,4f int 21 push dx add dl,20 int 21 mov dl,0a int 21 mov dl,0d int 21 pop dx Program:
3.. Display the Output: inc dl cmp dl,5b jne 011e int 20 CcDdEeFfGg lL kK jJ iI hH
Program:
int 21 pop dx inc dl cmp dl,48 jne 0104 mov dl,0a int 21 mov dl, 6c int 21 push dx sub dl, 20 int 21 mov dl, 0a int 21 pop dx dec dl cmp dl, 67 jne 011a int 20
O P Q
Program:
mov ah,02 mov dl,41 int 21 push dx add dl,21 int 21 pop dx add dl,02 cmp dl,47 jne 0104 mov dl, 0a int 21 mov dl, 0d int 21 mov dl, 47 int 21 4. Display the output: push dx inc dl AbCdEf G H IjKlmN mov dl, 0a int 21 mov dl, 0d int 21
pop dx inc dl cmp dl,49 jne 011f mov dl, 49 int 21 push dx add dl, 21 int 21 pop dx add dl, 02 cmp dl, 4f jne 0136 mov dl, 0a
int 21 mov dl, 4f int 21 push dx inc dl mov dl, 0a int 21 mov dl, 0d int 21 pop dx inc dl cmp dl, 52
jne 0104 mov dl, 0a int 21 mov dl, 0d int 21 mov dl, 51 5. Display the output: int 21 push dx iIjJkKlLmMnNoOpP Qq Rr Ss Tt Uu Vv hHgGfFeEdDcCbBaA add dx, 20 int 21 mov dx, 0a int 21 mov dx, 0d int 21 pop dx inc dx cmp dl, 57 Program: jne 011e mov dx, 68 movah, 02 mov dl, 69 int 21 push dx sub dl, 20 int 21 pop dx inc dl cmp dl, 71 int 21 push dx sub dx, 20 int 21 pop dx dec dl cmp dl, 60
aA bB cC dD eE fF gG hH
iI jJ kK LlMmNnOoPpQqRrSs
Program:
mov ah, 02 mov dl, 61 int 21 push dx sub dl, 20 int 21 mov dx, 0a int 21 mov dx, 0d int 21 pop dx inc dl cmp dl, 6c jne 0104 mov dl, 4c int 21 push dx add dl, 20 int 21 pop dx inc dl
Zz Yy Xx Ww ABcCDeEFgGHi Ss Tt Uu Vv jkLlmNnoPpqR
Program:
mov ah, 02 mov dl, 5a int 21 push dx add dl, 20 int 21 mov dl, 0a int 21 mov dl, 0d int 21 pop dx
dec dl cmp dl, 56 jne 0104 mov dl, 41 int 21 push dx inc dl int 21 add dl, 21 int 21 pop dx add dl, 02 cmp dl, 49 jne 011e mov dl, 0a int 21 mov dl, 0d int 21 mov dl, 53 int 21 push dx add dl, 20 int 21 mov dl, 0a int 21 mov dl, 0d int 21 pop dx inc dl cmp dl, 57 jne 013d mov dl, 6a int 21 push dx inc dl int 21 sub dl, 1f int 21 pop dx add dl, 02 cmp dl, 72
int 21 inc dl int 21 push dx sub dl, 1f int 21 pop dx add dl, 02 cmp dl, 6d jne 0104 mov dl, 0a int 21 mov dl, 30 int 21
push dx inc dl
int 21 mov dl, 0a int 21 pop dx add dl, 02 cmp dl, 3a jne 011f mov dl, 4f int 21
Program:
inc dl int 21
push dx
add dl, 21 int 21 pop dx add dl, 02 cmp dl, 5b jne 0135
int 20
AB CD EF Ghijkl Mn Op Qr
pop dx inc dl cmp dl, 6d jne 011e mov dl, 0a int 21 mov dl, 4d int 21
Program:
mov ah, 02 mov dl, 41 int 21 push dx inc dl int 21 mov dl, 0a int 21 mov dl, 0d int 21 pop dx add dl, 02 cmp dl, 47 jne 0104 mov dl, 67 int 21 push dx inc dl
int 21
mov dl, 0a int 21 pop dx add dl, 02 cmp dl, 53 jne 0131 int 20
Program:
push dx inc dl int 21 pop dx add dl, 02 cmp dl, 39 jne 0104 int 21 mov dl, 0a int 21 mov dl, 0d int 21 mov dl, 41 int 21 push dx inc dl int 21 mov dl, 0a int 21 mov dl, 0d int 21 pop dx add dl, 02 cmp dl, 47 jne 0120 mov dl,67 int 21 push dx
pop dx inc dl cmp dl,6c jne 013a mov dl, 0a int 21 mov dl, 0d int 21 mov dl, 4c int 21 push dx
add dl, 21 int 21 mov dl, 0a int 21 mov dl, 0d int 21 pop dx inc dl cmp dl, 51 jne 0154 mov dl, 51 int 21 push dx add dl, 21 int 21 pop dx add dl, 02 cmp dl, 5b jne 016e int 20