xref: /plan9/sys/src/libmach/68020/ureg.h (revision 473d4f4b3fed09ca133e03643ec71c9150b33bcc)
1 struct Ureg
2 {
3 	ulong	r0;
4 	ulong	r1;
5 	ulong	r2;
6 	ulong	r3;
7 	ulong	r4;
8 	ulong	r5;
9 	ulong	r6;
10 	ulong	r7;
11 	ulong	a0;
12 	ulong	a1;
13 	ulong	a2;
14 	ulong	a3;
15 	ulong	a4;
16 	ulong	a5;
17 	ulong	a6;
18 	ulong	sp;
19 	ulong	usp;
20 	ulong	magic;		/* for db to find bottom of ureg */
21 	ushort	sr;
22 	ulong	pc;
23 	ushort	vo;
24 #ifndef	UREGVARSZ
25 #define	UREGVARSZ 23		/* for 68040; 15 is enough on 68020 */
26 #endif
27 	uchar	microstate[UREGVARSZ];	/* variable-sized portion */
28 };
29