I have a stack size of 8. I create a function and allocate 8 local registers in it. When I do a STOS to those local registers, the function will not return. For example the following code does not work. It goes into an infinite loop in BBB. If I change the LocR from 8 to 9 then everything works OK.
LBL'AAA'
SSIZE8
XEQ'BBB'
4
STO 00
RTN
ENDLBL'BBB'
LocR 008
STOS .00
RTN
END