extractfname:

Format:

extractfname: Rx, Ry | "filename"

Load Rx with the file name less any path info.

Parameters:

Rx: A string register.

Ry | "filename": A string register or constant that represents a path/filename.