Inline methods



      abs_i4      abs_r4      abs_r8      append_char
      asin      atan      atan2      ceiling
      cos      cosh      exp      floor
      ieeeremainder      is_white_space      log      log10
      max_i4      max_r4      max_r8      min_i4
      min_r4      min_r8      monitor_enter      monitor_exit
      pow      round      sign_i4      sign_r4
      sign_r8      sin      sinh      sqrt
      string_concat_2      string_concat_3      string_concat_4      string_eq
      string_get_char      string_ne      tan      tanh
      type_from_handle   


 abs_i4 
  ·  OperationCompute the absolute value of an int
  ·  Format
prefix
abs_i4
  ·  Direct Format
{abs_i4}
  ·  Forms abs_i4 = 255, 109 (0xFF, 0x6D)
  ·  Stack..., db => ..., result


 abs_r4 
  ·  OperationCompute the absolute value of a float
  ·  Format
prefix
abs_r4
  ·  Direct Format
{abs_r4}
  ·  Forms abs_r4 = 255, 110 (0xFF, 0x6E)
  ·  Stack..., db => ..., result


 abs_r8 
  ·  OperationCompute the absolute value of a double
  ·  Format
prefix
abs_r8
  ·  Direct Format
{abs_r8}
  ·  Forms abs_r8 = 255, 111 (0xFF, 0x6F)
  ·  Stack..., db => ..., result


 append_char 
  ·  OperationAppend a character to a string builder
  ·  Format
prefix
append_char
method
  ·  Direct Format
{append_char}
method
  ·  Forms append_char = 255, 87 (0xFF, 0x57)
  ·  Stack..., builder, ch => ..., builder
   · Description The builder and ch are popped from the stack as the types ptr and int32 respectively. The character ch is appended to the end of the string builder indicated by builder. The builder is then pushed back onto the stack.
   · Notes This instruction is used to inline calls to the StringBuilder.Append(char) method. The method argument must be a pointer to this method, because the interpreter will "bail out" to the C# class library if the append is too difficult to perform (e.g. the string must be reallocated).
   · Exceptions System.NullReferenceException -- Raised if builder is null.


 asin 
  ·  OperationCompute the angle whose sine is the specified number
  ·  Format
prefix
asin
  ·  Direct Format
{asin}
  ·  Forms asin = 255, 112 (0xFF, 0x70)
  ·  Stack..., number => ..., result


 atan 
  ·  OperationCompute the angle whose tangent is the specified number
  ·  Format
prefix
atan
  ·  Direct Format
{atan}
  ·  Forms atan = 255, 113 (0xFF, 0x71)
  ·  Stack..., number => ..., result


 atan2 
  ·  OperationCompute the angle whose tangent is quotient of the two specified numbers
  ·  Format
prefix
atan2
  ·  Direct Format
{atan2}
  ·  Forms atan2 = 255, 113 (0xFF, 0x71)
  ·  Stack..., number1, number2 => ..., result


 ceiling 
  ·  OperationReturns the smallest whole number greater than or equal to the specified number
  ·  Format
prefix
ceiling
  ·  Direct Format
{ceiling}
  ·  Forms ceiling = 255, 115 (0xFF, 0x73)
  ·  Stack..., number => ..., result


 cos 
  ·  OperationCompute the cosine of the specified angle
  ·  Format
prefix
cos
  ·  Direct Format
{cos}
  ·  Forms cos = 255, 116 (0xFF, 0x74)
  ·  Stack..., angle => ..., result


 cosh 
  ·  OperationReturns the hyperbolic cosine of the specified angle
  ·  Format
prefix
cosh
  ·  Direct Format
{cosh}
  ·  Forms cosh = 255, 117 (0xFF, 0x75)
  ·  Stack..., number => ..., result


 exp 
  ·  OperationComputes e raised to the specified power
  ·  Format
prefix
exp
  ·  Direct Format
{exp}
  ·  Forms exp = 255, 118 (0xFF, 0x76)
  ·  Stack..., power => ..., result


 floor 
  ·  OperationComputes the largest whole number less than or equal to the specified number
  ·  Format
prefix
floor
  ·  Direct Format
{floor}
  ·  Forms floor = 255, 119 (0xFF, 0x77)
  ·  Stack..., number => ..., result


 ieeeremainder 
  ·  OperationComputes the remainder resulting from the division of a specified number by another specified number.
  ·  Format
prefix
ieeeremainder
  ·  Direct Format
{ieeeremainder}
  ·  Forms ieeeremainder = 255, 120 (0xFF, 0x78)
  ·  Stack..., number1, number2 => ..., result


 is_white_space 
  ·  OperationDetermine if a character is white space
  ·  Format
prefix
is_white_space
  ·  Direct Format
{is_white_space}
  ·  Forms is_white_space = 255, 88 (0xFF, 0x58)
  ·  Stack..., ch => ..., result
   · Description The ch is popped from the stack as the type int32. If it is a white space character, then the int32 result 1 is pushed onto the stack; otherwise 0 is pushed.
   · Notes This instruction is used to inline calls to the Char.IsWhiteSpace(char) method, which is used heavily in text processing code.


 log 
  ·  OperationComputes the natural (base e) logarithm of the specified number
  ·  Format
prefix
log
  ·  Direct Format
{log}
  ·  Forms log = 255, 121 (0xFF, 0x79)
  ·  Stack..., number => ..., result


 log10 
  ·  OperationComputes the base 10 logarithm of the specified number
  ·  Format
prefix
log10
  ·  Direct Format
{log10}
  ·  Forms log10 = 255, 122 (0xFF, 0x7A)
  ·  Stack..., number => ..., result


 max_i4 
  ·  OperationCompute the maximum of two numbers
  ·  Format
prefix
max_i4
  ·  Direct Format
{min_i4}
  ·  Forms max_i4 = 255, 124 (0xFF, 0x7C)
  ·  Stack..., int => ..., result


 max_r4 
  ·  OperationCompute the maximum of two floats
  ·  Format
prefix
max_r4
  ·  Direct Format
{max_r4}
  ·  Forms max_r4 = 255, 126 (0xFF, 0x7E)
  ·  Stack..., db => ..., result


 max_r8 
  ·  OperationCompute the maximum of two doubles
  ·  Format
prefix
max_r8
  ·  Direct Format
{max_r8}
  ·  Forms max_r8 = 255, 128 (0xFF, 0x80)
  ·  Stack..., db => ..., result


 min_i4 
  ·  OperationCompute the minimum of two numbers
  ·  Format
prefix
min_i4
  ·  Direct Format
{min_i4}
  ·  Forms min_i4 = 255, 123 (0xFF, 0x7B)
  ·  Stack..., int => ..., result


 min_r4 
  ·  OperationCompute the minimum of two numbers
  ·  Format
prefix
min_r4
  ·  Direct Format
{min_r4}
  ·  Forms min_r4 = 255, 125 (0xFF, 0x7D)
  ·  Stack..., db => ..., result


 min_r8 
  ·  OperationCompute the minimum of two doubles
  ·  Format
prefix
min_r8
  ·  Direct Format
{min_r8}
  ·  Forms min_r8 = 255, 127 (0xFF, 0x7F)
  ·  Stack..., db => ..., result


 monitor_enter 
  ·  OperationEnter a monitor on an object
  ·  Format
prefix
monitor_enter
  ·  Direct Format
{monitor_enter}
  ·  Forms monitor_enter = 255, 85 (0xFF, 0x55)
  ·  Stack..., object => ...
   · Description The object is popped from the stack as the type ptr. The current thread is made to enter the synchronisation monitor on object. Execution continues once the monitor has been acquired.
   · Notes This instruction is used to inline calls to the Monitor.Enter(Object) method.


 monitor_exit 
  ·  OperationExit a monitor on an object
  ·  Format
prefix
monitor_exit
  ·  Direct Format
{monitor_exit}
  ·  Forms monitor_exit = 255, 86 (0xFF, 0x56)
  ·  Stack..., object => ...
   · Description The object is popped from the stack as the type ptr. The current thread is made to exit the synchronisation monitor on object. Execution continues once the monitor has been released.
   · Notes This instruction is used to inline calls to the Monitor.Exit(Object) method.


 pow 
  ·  OperationComputes the given number raised to a specific power
  ·  Format
prefix
pow
  ·  Direct Format
{pow}
  ·  Forms pow = 255, 129 (0xFF, 0x81)
  ·  Stack..., number, power => ..., result


 round 
  ·  OperationComputes the whole number nearest to the specified number
  ·  Format
prefix
round
  ·  Direct Format
{round}
  ·  Forms round = 255, 130 (0xFF, 0x82)
  ·  Stack..., number => ..., result


 sign_i4 
  ·  OperationCompute the sign of an int
  ·  Format
prefix
sign_i4
  ·  Direct Format
{sign_i4}
  ·  Forms sign_i4 = 255, 131 (0xFF, 0x83)
  ·  Stack..., db => ..., result


 sign_r4 
  ·  OperationCompute the sign of a float
  ·  Format
prefix
sign_r4
  ·  Direct Format
{sign_r4}
  ·  Forms sign_r4 = 255, 132 (0xFF, 0x84)
  ·  Stack..., db => ..., result


 sign_r8 
  ·  OperationCompute the sign of a double
  ·  Format
prefix
sign_r8
  ·  Direct Format
{sign_r8}
  ·  Forms sign_r8 = 255, 133 (0xFF, 0x85)
  ·  Stack..., db => ..., result


 sin 
  ·  OperationCompute the sine of the specified angle
  ·  Format
prefix
sin
  ·  Direct Format
{sin}
  ·  Forms sin = 255, 134 (0xFF, 0x86)
  ·  Stack..., angle => ..., result


 sinh 
  ·  OperationComputes the hyperbolic sine of the specified angle
  ·  Format
prefix
sinh
  ·  Direct Format
{sinh}
  ·  Forms sinh = 255, 135 (0xFF, 0x87)
  ·  Stack..., angle => ..., result


 sqrt 
  ·  OperationComputes the square root of the specified number
  ·  Format
prefix
sqrt
  ·  Direct Format
{sqrt}
  ·  Forms sqrt = 255, 136 (0xFF, 0x88)
  ·  Stack..., number => ..., result


 string_concat_2 
  ·  OperationConcatenate two strings
  ·  Format
prefix
string_concat_2
  ·  Direct Format
{string_concat_2}
  ·  Forms string_concat_2 = 255, 78 (0xFF, 0x4E)
  ·  Stack..., value1, value2 => ..., result
   · Description Both value1 and value2 are popped from the stack as type string. The result is the string that results from concatenating value1 and value2. The result is pushed onto the stack.
   · Notes This instruction is used to inline calls to the String.Concat(String, String) method.


 string_concat_3 
  ·  OperationConcatenate three strings
  ·  Format
prefix
string_concat_3
  ·  Direct Format
{string_concat_3}
  ·  Forms string_concat_3 = 255, 79 (0xFF, 0x4F)
  ·  Stack..., value1, value2, value3 => ..., result
   · Description The values value1, value2, and value3 are popped from the stack as type string. The result is the string that results from concatenating value1, value2, and value3. The result is pushed onto the stack.
   · Notes This instruction is used to inline calls to the String.Concat(String, String, String) method.


 string_concat_4 
  ·  OperationConcatenate four strings
  ·  Format
prefix
string_concat_4
  ·  Direct Format
{string_concat_4}
  ·  Forms string_concat_4 = 255, 80 (0xFF, 0x50)
  ·  Stack..., value1, value2, value3, value4 => ..., result
   · Description The values value1, value2, value3, and value4 are popped from the stack as type string. The result is the string that results from concatenating value1, value2, value3, and value4. The result is pushed onto the stack.
   · Notes This instruction is used to inline calls to the String.Concat(String, String, String, String) method.


 string_eq 
  ·  OperationTest two strings for equality
  ·  Format
prefix
string_eq
  ·  Direct Format
{string_eq}
  ·  Forms string_eq = 255, 81 (0xFF, 0x51)
  ·  Stack..., value1, value2 => ..., result
   · Description Both value1 and value2 are popped from the stack as type string. The result is the int32 that results from comparing value1 and value2: 1 if they are equal, and 0 if they are not equal. The result is pushed onto the stack.
   · Notes This instruction is used to inline calls to the String.op_Equality(String, String) method.


 string_get_char 
  ·  OperationGet a particular character from a string
  ·  Format
prefix
string_get_char
  ·  Direct Format
{string_get_char}
  ·  Forms string_get_char = 255, 83 (0xFF, 0x53)
  ·  Stack..., value1, value2 => ..., result
   · Description Both value1 and value2 are popped from the stack as the types string and int32 respectively. The result is the int32 that results from fetching the character at position value2 within the string value1. System.IndexOutOfRangeException will be thrown if value2 is an invalid index.
   · Notes This instruction is used to inline calls to the String.get_Chars(int) method.
   · Exceptions System.NullReferenceException -- Raised if value1 is null.
System.IndexOutOfRangeException -- Raised if value2 is not a valid character index for the string value1.


 string_ne 
  ·  OperationTest two strings for inequality
  ·  Format
prefix
string_ne
  ·  Direct Format
{string_ne}
  ·  Forms string_ne = 255, 82 (0xFF, 0x52)
  ·  Stack..., value1, value2 => ..., result
   · Description Both value1 and value2 are popped from the stack as type string. The result is the int32 that results from comparing value1 and value2: 1 if they are not equal, and 0 if they are equal. The result is pushed onto the stack.
   · Notes This instruction is used to inline calls to the String.op_Inequality(String, String) method.


 tan 
  ·  OperationComputes the tangent of the specified angle
  ·  Format
prefix
tan
  ·  Direct Format
{tan}
  ·  Forms tan = 255, 137 (0xFF, 0x89)
  ·  Stack..., angle => ..., result


 tanh 
  ·  OperationComputes the hyperbolic tangent of the specified angle
  ·  Format
prefix
tanh
  ·  Direct Format
{tanh}
  ·  Forms tanh = 255, 138 (0xFF, 0x8A)
  ·  Stack..., angle => ..., result


 type_from_handle 
  ·  OperationGet a type object from its runtime handle
  ·  Format
prefix
type_from_handle
  ·  Direct Format
{type_from_handle}
  ·  Forms type_from_handle = 255, 84 (0xFF, 0x54)
  ·  Stack..., handle => ..., object
   · Description The handle is popped from the stack as the type ptr. It is interpreted as an instance of the value type System.RuntimeTypeHandle. The handle is converted into an object instance of the reference type System.Type. The object is pushed onto the stack.
   · Notes This instruction is used to inline calls to the Type.GetTypeFromHandle(RuntimeTypeHandle) method.


Copyright © Southern Storm Software Pty Ltd 2002
Licensed under GNU FDL