mc.h 795 Bytes

#define	X0Y0	0x1000219c
#define	X1Y0	0x100021e8
#define	X0Y1	0x10002258
#define	X1Y1	0x100022a8

#define SWITCH_TABLE	0x80

#define MVX	0x100
#define MVY	0x104
#define MVCX	0x108
#define MVCY	0x10c

#define LBASE	0x110
#define RBASE	eval(LBASE + 16*17)
#define OBASE	0x800

#define LCrBASE	eval(RBASE + 16*17)
#define RCrBASE	eval(LCrBASE + 16*9)
#define OCrBASE	eval(OBASE + 16*16)

.name	r0,		$0
.name	ret_reg,	$31

#define ret	jr	ret_reg

.name	store_flag,	$1
.name	dum,		$2
.name	dum2,		$3
.name	mvx,		$4
.name	mvy,		$5
.name	mc4,		$6

.name	xLbase,		$7
.name	xRbase,		$8
.name	xObase,		$9

.name	Lbasep1,	$10
.name	Rbasep1,	$11

.name	xh,		$12
.name	yh,		$13

.name	v0,		$v0
.name	v1,		$v1
.name	v2,		$v2
.name	v3,		$v3

.name	t1,		$v10
.name	t1p1,		$v11
.name	t2,		$v12
.name	t2p1,		$v13