OSDN Git Service

AI003:config.txt, words.txtを追加。
[chnosproject/CHNOSProject.git] / CHNOSProject / chnos / tolset_chn_000 / chnos_010 / chnapi / api_00000009_api_malloc.nas
1 [FORMAT "WCOFF"]\r
2 [INSTRSET "i486p"]\r
3 [OPTIMIZE 1]\r
4 [OPTION 1]\r
5 [BITS 32]\r
6         GLOBAL  _api_malloc\r
7 \r
8 [SECTION .text]\r
9 \r
10 _api_malloc:\r
11         push    ebx\r
12         mov     edx,9\r
13         mov     ebx,[cs:0x0020]\r
14         mov     ecx,[esp+8]\r
15         int     0x40\r
16         pop     ebx\r
17         ret\r