OSDN Git Service
(root)
/
chnosproject
/
CHNOSProject.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svn rev.329より移動。
[chnosproject/CHNOSProject.git]
/
CHNOSProject
/
chnos
/
tolset_chn_000
/
chnos_010
/
asmtest
/
asmtest.nas
diff --git a/CHNOSProject/chnos/tolset_chn_000/chnos_010/asmtest/asmtest.nas
b/CHNOSProject/chnos/tolset_chn_000/chnos_010/asmtest/asmtest.nas
new file mode 100644
(file)
index 0000000..
7cb3d51
--- /dev/null
+++ b/
CHNOSProject/chnos/tolset_chn_000/chnos_010/asmtest/asmtest.nas
@@ -0,0
+1,16
@@
+[FORMAT "WCOFF"]
\r
+[INSTRSET "i486p"]
\r
+[BITS 32]
\r
+
\r
+ GLOBAL _CHNMain
\r
+
\r
+[SECTION .text]
\r
+
\r
+_CHNMain:
\r
+ mov edx, 2
\r
+ mov ebx, msg
\r
+ int 0x40
\r
+ mov edx, 4
\r
+ int 0x40
\r
+msg:
\r
+ db "hello", 0
\r