diff options
Diffstat (limited to 'sem2/lab1/hello2.asm')
| -rw-r--r-- | sem2/lab1/hello2.asm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sem2/lab1/hello2.asm b/sem2/lab1/hello2.asm new file mode 100644 index 0000000..df7596d --- /dev/null +++ b/sem2/lab1/hello2.asm @@ -0,0 +1,22 @@ +; Program Hello2 +OurStack SEGMENT PARA STACK 'STACK' +DB 64 DUP (?) +OurStack ENDS + +OurData SEGMENT PARA PUBLIC 'DATA' +Hello DB 'Hello!$' +OurData ENDS + +OurCode SEGMENT PARA PUBLIC 'CODE' +ASSUME CS:OurCode, DS:OurData, SS:OurStack +Start: + MOV ax,OurData + MOV ds,ax + LEA dx,Hello + MOV ah,09h + INT 21h + MOV ah,4Ch + MOV al,00h + INT 21h +OurCode ENDS +END Start |