an SPU assembler over the definsn records (compile time).
(defun spu-load-words) source(defun spu-load-words (cpu words addr)
"store the instruction words WORDS in the local store from ADDR (test and
loader helper, not a semantics body)"
(dolist (w words)
(ls-write 32 addr w)
(setq addr (+ addr 4)))
nil)(defun spu-load-program) source(defun spu-load-program (cpu program &optional (origin 0))
"assemble PROGRAM at ORIGIN into the local store"
(spu-load-words cpu (spu-assemble program :origin origin) origin))Made from xspe at b2fac33349db by tools/gen-xspe.py. xspe is GPL-3.0-or-later.