~ubuntu-branches/ubuntu/jaunty/spim/jaunty

« back to all changes in this revision

Viewing changes to spim-syscall.h

  • Committer: Bazaar Package Importer
  • Author(s): Fernando Sanchez
  • Date: 2001-01-24 14:05:34 UTC
  • Revision ID: james.westby@ubuntu.com-20010124140534-3le9wmofforjjcd8
Tags: upstream-6.3
ImportĀ upstreamĀ versionĀ 6.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* SPIM S20 MIPS simulator.
 
2
   System calls implemented by simulator.
 
3
 
 
4
   Copyright (C) 1990-2000 by James Larus (larus@cs.wisc.edu).
 
5
   ALL RIGHTS RESERVED.
 
6
 
 
7
   SPIM is distributed under the following conditions:
 
8
 
 
9
     You may make copies of SPIM for your own use and modify those copies.
 
10
 
 
11
     All copies of SPIM must retain my name and copyright notice.
 
12
 
 
13
     You may not sell SPIM or distributed SPIM in conjunction with a
 
14
     commerical product or service without the expressed written consent of
 
15
     James Larus.
 
16
 
 
17
   THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 
18
   IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 
19
   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 
20
   PURPOSE. */
 
21
 
 
22
 
 
23
/* $Header: /Software/SPIM/src/spim-syscall.h 4     12/24/00 1:37p Larus $
 
24
*/
 
25
 
 
26
 
 
27
#define PRINT_INT_SYSCALL       1
 
28
#define PRINT_FLOAT_SYSCALL     2
 
29
#define PRINT_DOUBLE_SYSCALL    3
 
30
#define PRINT_STRING_SYSCALL    4
 
31
#define READ_INT_SYSCALL        5
 
32
#define READ_FLOAT_SYSCALL      6
 
33
#define READ_DOUBLE_SYSCALL     7
 
34
#define READ_STRING_SYSCALL     8
 
35
#define SBRK_SYSCALL            9
 
36
#define EXIT_SYSCALL            10
 
37