/* SPIM S20 MIPS simulator. System calls implemented by simulator. Copyright (C) 1990 by James Larus (larus@cs.wisc.edu). SPIM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. SPIM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to James R. Larus, Computer Sciences Department, University of Wisconsin--Madison, 1210 West Dayton Street, Madison, WI 53706, USA or to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* $Header: /home/aa/projects/spim/public_html/cvsroot/spimsal/spim-syscall.h,v 1.1.1.1 1999/08/21 19:31:25 brg Exp $ */ #define PRINT_INT_SYSCALL 1 #define PRINT_FLOAT_SYSCALL 2 #define PRINT_DOUBLE_SYSCALL 3 #define PRINT_STRING_SYSCALL 4 #define READ_INT_SYSCALL 5 #define READ_FLOAT_SYSCALL 6 #define READ_DOUBLE_SYSCALL 7 #define READ_STRING_SYSCALL 8 #define SBRK_SYSCALL 9 #define EXIT_SYSCALL 10 #define PRINT_CHARACTER_SYSCALL 11 #define READ_CHARACTER_SYSCALL 12 #define EXIT_NOW_SYSCALL 13