Skip to content

Instantly share code, notes, and snippets.

@death
death / gist:2316075
Created Apr 6, 2012
DCPU-16 Lisp implementation
View gist:2316075
(defpackage #:dcpu-16
(:use #:cl)
(:export
#:make-ram #:ram-read #:ram-write #:ram-size
#:execute #:debug
#:load-program #:assemble-program
#:set #:add #:sub #:mul
#:div #:mod #:shl #:shr
#:and #:bor #:xor #:ife
#:ifn #:ifg #:ifb #:jsr