Add (Y X) cash to the cash pot in CASH. As CASH is a four-byte number, this
calculates:
CASH(0 1 2 3) = CASH(0 1 2 3) + (Y X)
Other entry points:TT113Contains an RTS
.MCASHTXA; Add the least significant bytes:CLC;ADCCASH+3; CASH+3 = CASH+3 + XSTACASH+3TYA; Then the second most significant bytes:ADCCASH+2;STACASH+2; CASH+2 = CASH+2 + YLDACASH+1; Then the third most significant bytes (which are 0):ADC#0;STACASH+1; CASH+1 = CASH+1 + 0LDACASH; And finally the most significant bytes (which are 0):ADC#0;STACASH; CASH = CASH + 0CLC; Clear the C flag, so if the above was done following; a failed LCASH call, the C flag correctly indicates; failure.TT113RTS; Return from the subroutine