examples/d6.xyw
1 2 3 4 5 6 7 8
.include "lib/macros.xyw" ; Get random number and calculate modulo 6 system.random LDB $6 MOD ; Print result+1 and new line $31 ADD PUTC NL