CALL and local variables of in-line PASRM2
Something is occurring that I simply do not understand with my inline PASM. When I CALL a routine in inline PASM, local variables previously setup are cleared upon RET from the routine.
Here is an example: The rx routine is within the inline PASM. The routine does not manipulate l_RX_RSR, but its value is $00000000 after RET from CALL. When I check the HUB values at rxptr, they are empty.
mov l_RX_RSR,##$FFFF call #rx WRWORD rxptr,l_RX_RSR
Is this expected?