source: branches/libc-0.6/src/emx/testcase/benchmarks/micro.asm

Last change on this file was 808, checked in by bird, 22 years ago

fixing....

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1; $Id: micro.asm 808 2003-10-06 00:23:40Z bird $
2;; @file
3;
4; The quickest possible executable testcase.
5; Used as reference.
6;
7; Copyright (c) 2003 knut st. osmundsen <bird-srcspam@anduin.net>
8;
9;
10; This program is free software; you can redistribute it and/or modify
11; it under the terms of the GNU General Public License as published by
12; the Free Software Foundation; either version 2 of the License, or
13; (at your option) any later version.
14;
15; This program is distributed in the hope that it will be useful,
16; but WITHOUT ANY WARRANTY; without even the implied warranty of
17; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18; GNU General Public License for more details.
19;
20; You should have received a copy of the GNU General Public License
21; along with This program; if not, write to the Free Software
22; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23;
24;
25
26 .386
27
28CODE32 segment public para use32 'CODE'
29CODE32 ends
30DATA32 segment public para use32 'DATA'
31DATA32 ends
32BSS32 segment public para use32 'BSS'
33BSS32 ends
34DGROUP group DATA32,BSS32
35
36CODE32 segment public para use32 'CODE'
37; ASSUME cs:FLAT, ds:FLAT, es:FLAT, ss:FLAT
38 public entry
39entry:
40 xor eax, eax
41 ret
42CODE32 ends
43
44STACK32 segment stack para use32 'STACK'
45 db 4096 dup(?)
46STACK32 ends
47
48end entry
49
Note: See TracBrowser for help on using the repository browser.