aboutsummaryrefslogtreecommitdiff
path: root/regs.h
blob: 7da45bfac7e33831a2806332f4d6b926005f1cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* GPRs */
#define rAX	0
#define rCX	1
#define rDX	2
#define rBX	3
#define rSP	4
#define rBP	5
#define rSI	6
#define rDI	7

/* SSE and AVX (represent [XYZ]MM) */
#define rX0	0	/* X8 */
#define rX1	1	/* X9 */
#define rX2	2	/* X10 */
#define rX3	3	/* X11 */
#define rX4	4	/* X12 */
#define rX5	5	/* X13 */
#define rX6	6	/* X14 */
#define rX7	7	/* X15 */