added dobinaryop for non constants. fixed bugs in function return, fixed bugs with setting global STO's base and offset