diff --git a/adis.c b/adis.c index 054c5cf..47a5883 100755 --- a/adis.c +++ b/adis.c @@ -7,6 +7,7 @@ #include #include #include +#include typedef void (*Handler)( unsigned long int word ); @@ -61,13 +62,13 @@ typedef void (*Handler)( unsigned long int word ); #define flip16(value)\ (unsigned short) ((value&0xFF00)>>8) | ((value&0xFF)<<8) -typedef char u8; -typedef unsigned short u16; -typedef unsigned u32; -typedef signed char s8; -typedef signed short s16; -typedef signed s32; -typedef float f32; +typedef uint8_t u8; +typedef uint16_t u16; +typedef uint32_t u32; +typedef int8_t s8; +typedef int16_t s16; +typedef int32_t s32; +typedef float f32; typedef struct { unsigned addr; @@ -1460,10 +1461,6 @@ char * getOP(unsigned long int word) return dis_op; } -/* prototype: - adis o stalfo.s 2 ZELOOTMA.z64 -*/ - int main(int argc, char * argv[]) { int i;