z80:Directives:DBRND/DWRND

From Learn @ Cemetech
Jump to navigationJump to search

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