summaryrefslogtreecommitdiff
path: root/notes.lisp
diff options
context:
space:
mode:
authoraleksei <aleksei@aj.org>2024-04-11 20:44:12 +1000
committeraleksei <aleksei@aj.org>2024-04-11 20:44:12 +1000
commit8368e32e98bc82e5220b0e534c04b4edba2bc9a4 (patch)
tree0ec998a3424200b0daa71c6ca1d51f6dfe1d1fb9 /notes.lisp
Initial commit
Diffstat (limited to 'notes.lisp')
-rw-r--r--notes.lisp24
1 files changed, 24 insertions, 0 deletions
diff --git a/notes.lisp b/notes.lisp
new file mode 100644
index 0000000..5ea7ef4
--- /dev/null
+++ b/notes.lisp
@@ -0,0 +1,24 @@
+;;;;; -*- mode: common-lisp -*-
+
+;; Addressing Mode Symbols
+'(immediate
+ absolute
+ zero-page
+ implied
+ indirect-absolute
+ absolute-indexed-x
+ absolute-indexed-y
+ zero-page-indexed-x
+ zero-page-indexed-y
+ indexed-indirect
+ indirect-indexed
+ relative
+ accumulator)
+
+;; Applying a syntax rule defined
+;; in *addressing-modes-syntax*
+(funcall
+ (eval
+ (cadar
+ *addressing-modes-syntax*))
+ "arg")