diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2020-12-19 04:11:30 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2020-12-19 04:11:30 +0400 |
| commit | 8ad7cfa0da6f786e0af749461e1f6a0b4eb20a73 (patch) | |
| tree | 451f8731d44b78abec98feee7dadc7c4fff6fa97 /sem3/task4/lab4_3.asm | |
| parent | 3d010c53599db79f391a567ddf661c766c7412b6 (diff) | |
Diffstat (limited to 'sem3/task4/lab4_3.asm')
| -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 |