src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add the instruction to store to an argument.  This method
/// selects the correct instruction based on the value of argNo.
/// </summary>
/// <param name="argNo">the argument to be stored to</param>
Add the instruction to store to an argument.  This method
selects the correct instruction based on the value of argNo.
Add the instruction to store to an argument . This method selects the correct instruction based on the value of argNo .
public void StoreArg(int argNo) {
            if (argNo <= maxUByteVal) {
                AddToBuffer(new UIntInstr(IntOp.starg_s,(uint)argNo));
            } else {
                AddToBuffer(new UIntInstr(IntOp.starg,(uint)argNo));
            }
        }
public void StoreArg ( int argNo ) { if ( argNo <= maxUByteVal ) { AddToBuffer ( new UIntInstr ( IntOp . starg_s , ( uint ) argNo ) ) ; } else { AddToBuffer ( new UIntInstr ( IntOp . starg , ( uint ) argNo ) ) ; } }
Add the instruction to store to an argument.
Add the instruction to store to an argument .
argNo
int
the argument to be stored to
the argument to be stored to