Hi,
i am wondering how to give back a value of a subroutine to the calling routine and use a register when using scxt.
example:
SCXT CP,#0FC40h
NOP
CALLS something
CMP R10, ONES
JMP CC_NE, somewhere
POP CP
the problem is i would like to pop cp direktly afer the subroutine returns, but in this case R10 is lost.