//MACRO Call.prime Ep, PrimeReg //-------------------------------------------------------------------------------------------------- // // @ 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. // //-------------------------------------------------------------------------------------------------- // if (Label == "") return DVASM.error("Label for macro [CALL.PRIME] is missing but it is required"); // // Preload 20 bits components of ENtry Point offset // DVASM.formatLine(Label, "AUIPC", PrimeReg + ", " + Ep + "@_PCREL_HI20", "");