# smiOopPrimitives

- <SmallInteger> primitiveLessThan:ifFail: ^<Boolean>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiCompare LastDeltaFrameNotNeeded

- <SmallInteger> primitiveGreaterThan:ifFail: ^<Boolean>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiCompare LastDeltaFrameNotNeeded

- <SmallInteger> primitiveLessThanOrEqual:ifFail: ^<Boolean>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiCompare LastDeltaFrameNotNeeded

- <SmallInteger> primitiveGreaterThanOrEqual:ifFail: ^<Boolean>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiCompare LastDeltaFrameNotNeeded

- <SmallInteger> primitiveSmallIntegerEqual:ifFail: ^<Boolean>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiCompare LastDeltaFrameNotNeeded

- <SmallInteger> primitiveSmallIntegerNotEqual:ifFail: ^<Boolean>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiCompare LastDeltaFrameNotNeeded

- <SmallInteger> primitiveBitAnd:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveBitOr:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveBitXor:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveBitShift:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveRawBitShift:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveAsObjectIfFail: ^<Object>
  Errors: OutOfBounds
  Flags: Function

- <SmallInteger> primitivePrintCharacterIfFail: ^<SmallInteger>
  Errors: OutOfBounds
  Flags: Function

- <SmallInteger> primitiveAdd:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Errors: Overflow
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveSubtract:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Errors: Overflow
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveMultiply:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Errors: Overflow
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveMod:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Errors: Overflow DivisionByZero
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveDiv:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Errors: Overflow DivisionByZero
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveQuo:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Errors: NotImplementedYet
  Flags: Pure SmiArith LastDeltaFrameNotNeeded

- <SmallInteger> primitiveRemainder:ifFail: ^<SmallInteger>
  Parameters:
  aNumber <SmallInteger>
  Errors: DivisionByZero
  Flags: Pure SmiArith LastDeltaFrameNotNeeded