F$LDAXY

From NitrOS-9
Jump to: navigation, search
Get One Byte Loads A from [X,[Y]]
OS9 F$LDAXY 103F 46

Entry Conditions

X block offset

Y DAT image pointer

Exit Conditions

A contents of byte at DAT image (Y) offset X

Error Output

CC carry set on error

B error code, if any

Additional Information

  • The Get One Byte system call gets the contents of one byte in the specified memory block. The block is specified by the DAT image in (Y), offset by (X). The call assumes that the DAT image pointer is to the actual block desired, and that X is only an offset within the DAT block. The value in Register X must be less than the size of the DAT block. NitrOS-9 does not check to see if X is out of range.

krn