//MACRO __PreTail Arg[], Stack //-------------------------------------------------------------------------------------------------- // // @ CopyRight Roberti & Parau Enterprises, Inc. 2021-2023 // // This work is licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License. // To view a copy of this license, visit http://creativecommons.org/licenses/by-nd/4.0/ // or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. // //-------------------------------------------------------------------------------------------------- // // // Save S type registers that have been changed as per ABI // if (Stack !== "") { eval(DVASM.getEnv()[4]); var es= abiNoRegs > 16 ? "11" : "1"; DVASM.formatLine("", "LM", "[S0-" + es + "], BaseSymb= " + Stack + ", Cond= yes", ""); if (abiNoFRegs > 0) DVASM.formatLine("", "FLM", "[FS0-11], BaseSymb= " + Stack + ", Cond= yes", ""); } // // Set up arguments // if (Arg.length > 0) DVASM.formatLine("", "__SETARGUMENTS", "[" + Arg + "], " + stack + ", Tail= " + tail, "");