Move further code to common, rename to assembler (last restructure I promise)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
vm-data-stack vm-ret-stack
|
||||
vm-debugger vm-debugger-set!
|
||||
vm-pc vm-pc-set!
|
||||
*instruction-set* instruction-type instruction-code))
|
||||
*instruction-set* instruction-name instruction-code))
|
||||
|
||||
;;; Data Structures
|
||||
(define *stack-size* 512)
|
||||
@@ -118,6 +118,7 @@
|
||||
(not #x1a)
|
||||
(bye #xff)))
|
||||
|
||||
(define instruction-name car)
|
||||
(define instruction-code cadr)
|
||||
|
||||
(define (op-lookup code)
|
||||
|
||||
Reference in New Issue
Block a user