2024-05-03 14:18:42 -05:00
|
|
|
(define a 12)
|
|
|
|
|
|
|
|
; maps fairly directly to the `htasm` assembler
|
2024-05-03 14:01:00 -05:00
|
|
|
(asm
|
2024-05-03 14:18:42 -05:00
|
|
|
; zero here might be replaced with a variable
|
|
|
|
(li64 r1 0)
|
|
|
|
; like so
|
|
|
|
(li64 r2 a))
|
|
|
|
|
|
|
|
; create a ptr to a
|
|
|
|
(ptr-to a)
|