Fix broken INSTRUCTION-LENGTH
This commit is contained in:
parent
31bb5f8509
commit
184d0324c0
1 changed files with 6 additions and 6 deletions
|
@ -69,12 +69,12 @@
|
|||
(:indirect-y indirect-y-mixin))))))
|
||||
|
||||
(defgeneric instruction-length (object)
|
||||
(:method (immediate-mixin) 2)
|
||||
(:method (implied-mixin) 1)
|
||||
(:method (accumulator-mixin) 1)
|
||||
(:method (zero-page-mixin) 2)
|
||||
(:method (relative-mixin) 2)
|
||||
(:method (absolute-mixin) 3))
|
||||
(:method ((obj immediate-mixin)) 2)
|
||||
(:method ((obj implied-mixin)) 1)
|
||||
(:method ((obj accumulator-mixin)) 1)
|
||||
(:method ((obj zero-page-mixin)) 2)
|
||||
(:method ((obj relative-mixin)) 2)
|
||||
(:method ((obj absolute-mixin)) 3))
|
||||
|
||||
(defclass branching-mixin ()
|
||||
((%branch-next :accessor branch-next :initarg :branch-next)))
|
||||
|
|
Loading…
Add table
Reference in a new issue