Last change
on this file since 271 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 |
|
---|
10 | typedef uint32_t word;
|
---|
11 | typedef uint16_t halfword;
|
---|
12 | typedef uint8_t byte;
|
---|
13 |
|
---|
14 | typedef uint8_t micro_address_t;
|
---|
15 | typedef uint8_t address_t;
|
---|
16 |
|
---|
17 | typedef 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.