z80:Directives:DBRND/DWRND
From Learn @ Cemetech
Jump to navigationJump to searchOutputs random bytes or words within a specified range.
Contents
Syntax
.dbrnd count, min, max
Use .dwrnd if you want to output words.
Allowed inputs
Uses
Generates four random letters
.dbrnd 4, 'A', 'Z'
See Also