summaryrefslogtreecommitdiff
path: root/sem2/lab1/hello3.asm
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2020-10-22 21:03:24 +0400
committerAndrew <saintruler@gmail.com>2020-10-22 21:03:24 +0400
commit143f34d941f32e0808fc9344d4c4126ff530d64a (patch)
treec79fcf309ad00e52100c0da544d96d3cc6ab6617 /sem2/lab1/hello3.asm
Добавил решения второго семестра
Diffstat (limited to 'sem2/lab1/hello3.asm')
-rw-r--r--sem2/lab1/hello3.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/sem2/lab1/hello3.asm b/sem2/lab1/hello3.asm
new file mode 100644
index 0000000..6149972
--- /dev/null
+++ b/sem2/lab1/hello3.asm
@@ -0,0 +1,15 @@
+; Program Hello3
+.MODEL small
+.CODE
+ORG 100h
+begin:
+ JMP start
+ Hello DB 'Hello!$'
+start:
+ LEA dx,Hello
+ MOV ah,09h
+ INT 21h
+ MOV ah,4Ch
+ MOV al,00h
+ INT 21h
+END begin