source: branches/mini/src/win32k/test/minihll2.c

Last change on this file was 6568, checked in by bird, 24 years ago

Documented it.

File size: 1.1 KB
Line 
1/* $Id: minihll2.c,v 1.1.2.2 2001-08-20 18:47:54 bird Exp $
2 *
3 * The data file.
4 *
5 * This is done so in order to get the data first and have lxlite
6 * cut off the blanks in the jmp instruction.
7 *
8 * Hence we put this first a and the minihll.obj file last.
9 *
10 * Copyright (c) 2001 knut st. osmundsen (kosmunds@csc.com)
11 *
12 * Project Odin Software License can be found in LICENSE.TXT
13 *
14 */
15
16/*******************************************************************************
17* Global Variables *
18*******************************************************************************/
19/*
20 * Must be in the same segment as the code.
21 * This is linked in before the code and hence the code will come last and will
22 * save a few bytes because of 4 zero bytes in the last instruction.
23 */
24#ifdef __WATCOMC__
25#pragma data_seg("CODEANDDATA", "CODE")
26#endif
27#ifdef __IBMC__
28#pragma data_seg(CODEANDDATACODE32)
29#endif
30char szMsg[19] = {"I'm really small!\n"};
31
32
33/*
34 * Define a stack segment.
35 */
36#ifdef __WATCOMC__
37#pragma data_seg("MYSTACK", "STACK")
38#endif
39
40
41
Note: See TracBrowser for help on using the repository browser.