Getcwd
Description
Get cwd
Usage
getcwd ptr
note: ptr may be: ptr, address
Example
.include "telestrat.inc"
.include "../orix-sdk/macros/SDK_dir.mac"
pwd := userzp ; 2 bytes
getcwd pwd
rts
Call XGETCWD kernel function.