source: liacs/ca/opdr2b/src/sim.h@ 344

Last change on this file since 344 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

  • Property svn:executable set to *
File size: 442 bytes
Line 
1/* Author : Rick van der Zwet
2 * S-number : 0433373
3 * Version : $Id: sim.h 361 2007-12-03 04:27:55Z rick $
4 * Copyright : FreeBSD Licence
5 * Description : MIPS simulator. Header
6 */
7#ifndef SIM_H
8#define SIM_H
9
10typedef uint32_t word;
11typedef uint16_t halfword;
12typedef uint8_t byte;
13
14typedef uint8_t micro_address_t;
15typedef uint8_t address_t;
16
17typedef enum { FALSE, TRUE } boolean;
18
19#define BITSIZE(x) (sizeof(x) * 8)
20
21#endif
Note: See TracBrowser for help on using the repository browser.