diff options
Diffstat (limited to 'sem3/task4')
| -rw-r--r-- | sem3/task4/lab4_3.asm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sem3/task4/lab4_3.asm b/sem3/task4/lab4_3.asm new file mode 100644 index 0000000..1507385 --- /dev/null +++ b/sem3/task4/lab4_3.asm @@ -0,0 +1,21 @@ +mov ah,01 +int 21 +cmp al,39 +jle 010a +sub al,7 +sub al,30 + +mov dl,al +mov cl,4 +shl dl,cl + +mov ah,01 +int 21 +cmp al,39 +jle 011c +sub al,7 +sub al,30 + +add al,dl +mov bl,al +int 20
\ No newline at end of file |