summaryrefslogtreecommitdiff
path: root/global.inc
blob: 9cb3325bcb0b806da6af6943773a4ead5f97b125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
;; -*- asm -*-

	;; Register naming
esp	EQUR	a4
	;; a5 is pointer to base of opcode jump table
epc	EQUR	a6

	;; d0 is scratch generally used in macros
	;; d1 is scratch generally used outside macros
	;; d2 is scratch and up for grabs
eaf	EQUR	d3
ebc	EQUR	d4
ede	EQUR	d5
ehl	EQUR	d6
eixy	EQUR	d7

SAVEREG	MACRO
	movem.l	d3-d7/a3-a6,-(sp)
	ENDM

RESTREG	MACRO
	movem.l	(sp)+,d3-d7/a3-a6
	ENDM