ostime.h
602 Bytes
#define STACKSIZE 0x2000
#define Halt(Op) \
ori zero, zero, 0x3333; \
ori zero, zero, 0x2222; \
ori zero, zero, 0x1111; \
ori zero, zero, 0x0000; \
.word ((Op << 6) | 0x000D); \
1: j 1b; \
nop
#define PASS 0xffff0
#define FAIL 0xfffff
#define LOG 0xa0000500
#define BUFSIZE 0x400
#ifdef _LANGUAGE_C
extern int int4(void);
extern int timer1(void);
extern int timer2(void);
extern int timer3(void);
#endif