Add 28 day code

This commit is contained in:
Yourtion
2016-05-18 10:25:37 +08:00
parent f025b0083f
commit c65ca780b3
137 changed files with 9146 additions and 0 deletions

View File

@@ -0,0 +1 @@
command

View File

@@ -0,0 +1 @@
cmd.exe

5
28_day/hello5/Makefile Normal file
View File

@@ -0,0 +1,5 @@
APP = hello5
STACK = 1k
MALLOC = 0k
include ../app_make.txt

20
28_day/hello5/hello5.nas Normal file
View File

@@ -0,0 +1,20 @@
[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "hello5.nas"]
GLOBAL _HariMain
[SECTION .text]
_HariMain:
MOV EDX,2
MOV EBX,msg
INT 0x40
MOV EDX,4
INT 0x40
[SECTION .data]
msg:
DB "hello, world", 0x0a, 0

1
28_day/hello5/make.bat Normal file
View File

@@ -0,0 +1 @@
..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9