Added some more ASM languages and Squirrel.

This commit is contained in:
Daniel Clarke
2012-04-29 09:11:36 -04:00
parent 38f6567c5c
commit 7214a08a5f
6 changed files with 83 additions and 1 deletions

16
a/assembler_fasm_dos.asm Normal file
View File

@@ -0,0 +1,16 @@
format MZ
entry .code: start
segment .code
start:
mov ax, .data ; put data segment into ax
mov ds, ax ; there, I setup the DS for you
mov dx, msg ; now I give you the offset in DX. DS:DX now completed.
mov ah, 9h
int 21h
mov ah, 4ch
int 21h
segment .data
msg db 'Hello World', '$'