Merge branch 'master' of git://github.com/geocal/hello-world into geocal/master
This commit is contained in:
24
a/assembler_intel.asm
Normal file
24
a/assembler_intel.asm
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
; hello_world.asm intel
|
||||||
|
|
||||||
|
.model small
|
||||||
|
|
||||||
|
.stack 100h
|
||||||
|
|
||||||
|
.data
|
||||||
|
msg db "Hello World!",'$'
|
||||||
|
|
||||||
|
.code
|
||||||
|
main proc
|
||||||
|
mov ax,@data
|
||||||
|
mov ds, ax
|
||||||
|
|
||||||
|
; hello-world is there
|
||||||
|
mov dx,offset msg
|
||||||
|
mov ah,09
|
||||||
|
int 21h
|
||||||
|
|
||||||
|
mov ax,4c00h
|
||||||
|
int 21h
|
||||||
|
|
||||||
|
main endp
|
||||||
|
end main
|
||||||
2
r/rexx.rexx
Normal file
2
r/rexx.rexx
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
<<hello.rexx>>=
|
||||||
|
Say "Hello, World!"
|
||||||
Reference in New Issue
Block a user