Make ASM-FUNCTION hold an address to be called
This commit is contained in:
parent
3b8c906d75
commit
f54e064fda
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@
|
||||||
(defvar *asm-functions* (make-hash-table :test #'equalp))
|
(defvar *asm-functions* (make-hash-table :test #'equalp))
|
||||||
|
|
||||||
(defclass asm-function ()
|
(defclass asm-function ()
|
||||||
((%name :accessor name :initarg :name)))
|
((%name :accessor name :initarg :name)
|
||||||
|
(%address :accessor address :initarg :address
|
||||||
|
:initform #xFEC0)))
|
||||||
|
|
||||||
(define-transformation (token (token-name asm-function))
|
(define-transformation (token (token-name asm-function))
|
||||||
(multiple-value-bind (asm-function existsp)
|
(multiple-value-bind (asm-function existsp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue