Import backup from 2006-01-02

This commit is contained in:
josh committed 2017-07-25 22:23:52 -04:00
1 parent 89d962e33a
commit 0aaf5db5ad
14 files changed
+164 -67

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
all:
make -C hash
nasm -f bin test1.asm -o test1.app
nasm -f bin -l test1.lst test1.asm -o test1.app
nasm -f bin test2.asm -o test2.app
BIN
View File
Binary file not shown.
+5 -2
View File
@@ -10,8 +10,11 @@ org 0x0
; dd 0 ; reserved
start:
mov eax, 1
mov ebx, 'h'
mov ebx, astring
mov eax, 2
int 0x30
jmp start
ret
astring:
db "Hello there from test1!", 10, 0
+22
View File
@@ -0,0 +1,22 @@
1 ; test app 1
2
3 [bits 32]
4 org 0x0
5
6 ;header:
7 ; dd 0x4D534F48 ; magic identifier "HOSM"
8 ; dd 2 ; test app
9 ; dd start ; start address
10 ; dd 0 ; reserved
11
12 start:
13 00000000 BB[0F000000] mov ebx, astring
14 00000005 B802000000 mov eax, 2
15 0000000A CD30 int 0x30
16 0000000C EBF2 jmp start
17 0000000E C3 ret
18
19 astring:
20 0000000F 48656C6C6F20746865- db "Hello there from test1!", 10, 0
21 00000018 72652066726F6D2074-
22 00000021 65737431210A00