mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-23 23:26:49 +03:00
29 lines
326 B
NASM
29 lines
326 B
NASM
|
|
|||
|
format MS COFF
|
|||
|
|
|||
|
public Start
|
|||
|
|
|||
|
extrn Memory
|
|||
|
extrn hEnd
|
|||
|
|
|||
|
extrn _kol_main
|
|||
|
|
|||
|
section ".text" code
|
|||
|
db "MENUET01"
|
|||
|
dd 1, Start, hEnd, Memory, hStack, 0, 0
|
|||
|
|
|||
|
Start:
|
|||
|
|
|||
|
; <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
mov eax, _kol_main
|
|||
|
call eax
|
|||
|
|
|||
|
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
mov eax, -1
|
|||
|
int 0x40
|
|||
|
|
|||
|
section ".bss"
|
|||
|
|
|||
|
rb 4096
|
|||
|
hStack:
|