summaryrefslogtreecommitdiff
path: root/global.inc
diff options
context:
space:
mode:
authorAstrid Smith2010-11-15 21:54:24 -0800
committerAstrid Smith2010-11-15 21:54:24 -0800
commit1b7c78001b7007b4523ac74ddd8df809871170d0 (patch)
tree049efb695608510a0dc649b684ae84bf8f80cd4b /global.inc
parentdb2327dde6fef5f1254cbd023f3c817c0ce7c36f (diff)
Renamed project files to get rid of final bits of “680”.
Diffstat (limited to 'global.inc')
-rw-r--r--global.inc23
1 files changed, 23 insertions, 0 deletions
diff --git a/global.inc b/global.inc
new file mode 100644
index 0000000..9cb3325
--- /dev/null
+++ b/global.inc
@@ -0,0 +1,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