1# mach: all 2# output: 3# sim: --environment operating 4 5.include "t-macros.i" 6 7 start 8 9;;; Read/Write values to SPU/SPI 10 11 loadpsw2 0 12 ldi sp, 0xdead 13 loadpsw2 PSW_SM 14 ldi sp, 0xbeef 15 16 loadpsw2 0 17 check 1 sp 0xdead 18 loadpsw2 PSW_SM 19 check 2 sp 0xbeef 20 21 exit0 22