z80:Directives:FREAD/FREADW

From Learn @ Cemetech
Jump to navigationJump to search

This reads a byte (.fread) or word (.freadw) from the file specified and stores the result in a label. The position of the pointer in the file stream is shunted along to point to the next byte/word.

Syntax

   .fread handle, label

Allowed inputs

Uses

See Also

fopen