savepc

From SnesLab
Jump to: navigation, search

savepc (Save Program Counter) is an xkas directive that saves the program counter to a file.

Syntax

savepc filename.xpc [, index]

The default index is zero. The address is saved at file offset index*4.

See Also