z80:Directives:DBRND/DWRND

From Learn @ Cemetech
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Outputs random bytes or words within a specified range.

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