5Fh PK$RWRD read a word from pack
Input - none -
Output D register - word read
Description Reads a word from the current position in the current pack into register D and increments pack counter by 2.

If an attempt is made to read past the end of the pack, the pack address in RAM will not reflect the counter address on the pack. No error will be generated. This should not be attempted.

X register is preserved.

Example
example
Errors - none -