z80:Directives:FREAD/FREADW

From Learn @ Cemetech
Jump to: navigation, 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