kolibrios-fun/programs/develop/libraries/InputBox/Examples/uasm/LScript.x
0CodErr 8bde880daf add InputBox examples
git-svn-id: svn://kolibrios.org@7457 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-13 07:54:18 +00:00

27 lines
501 B
Plaintext

PATH_SIZE = 1024;
PARAMS_SIZE = 256;
STACK_SIZE = 1024;
AppParams = $END + PATH_SIZE;
AppPath = $END;
SECTIONS
{
.all : AT(0){
LONG(0x554e454D);
LONG(0x31305445);
LONG(1);
LONG("@Main");
LONG(END);
LONG($END + PATH_SIZE + PARAMS_SIZE + STACK_SIZE);
LONG($END + PATH_SIZE + PARAMS_SIZE + STACK_SIZE);
LONG(AppParams);
LONG(AppPath);
*(.text)
*(.rdata)
*(.data)
}
END = .;
.bss ALIGN(16) : {*(.bss)}
$END = .;
}