11 lines
196 B
Common Lisp
11 lines
196 B
Common Lisp
(define a 12)
|
|
|
|
; maps fairly directly to the `htasm` assembler
|
|
(asm
|
|
; zero here might be replaced with a variable
|
|
(li64 r1 0)
|
|
; like so
|
|
(li64 r2 a))
|
|
|
|
; create a ptr to a
|
|
(ptr-to a) |