diff options
Diffstat (limited to 'sem2/lab1/hello11.asm')
| -rw-r--r-- | sem2/lab1/hello11.asm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sem2/lab1/hello11.asm b/sem2/lab1/hello11.asm new file mode 100644 index 0000000..f039220 --- /dev/null +++ b/sem2/lab1/hello11.asm @@ -0,0 +1,17 @@ +; Program Hello1 +.MODEL small +.STACK 100h +.DATA +Hello DB 'Hello, World!$' + +.CODE +start: + MOV ax,@DATA + MOV ds,ax + LEA dx,Hello + MOV ah,09h + INT 21h + MOV ax,4c00h + INT 21h +END start + |