Pre-Defined Variables | Description |
---|---|
Op1 | Operand 1 of a two operand function. i.e. Op1+Op2 adds two numbers entered. This assumes that the Immediate Result box is not checked |
Op2 | Returns what's currently on the display |
Prev | Synonym of Op1 |
Disp | Synonym of Op2 |
Pre-Defined Programs | Description | Definition |
---|---|---|
Add | Adds two operands | Op1+Op2 |
Sub | Subtracts Op2 from Op1 | Op1-Op2 |
Mul | Multiplies Op1 by Op2 | Op1*Op2 |
Div | Divides Op1 by Op2 | Op1/Op2 |
Mod | Modulus remainder of Op1 divided by Op2 | Op1%Op2 |
And | Boolean ands Op1 and Op2 Example: \xf0ff&\xff0 = \xf0 | Op1&Op2 |
Or | Boolean ors Op1 and Op2 Example: \xf0ff|\xff0 = \xffff | Op1|Op2 |
Xor | Exclusive or Op1 and Op2 Example: \xf0ff^\xff0 = \xff0f | Op1^Op2 |
Lsft | Shifts the display over 1 bit to the left (immed) Example: \xf0ff<<4 = \xf0ff0 | Disp<<1 |
Rsft | Shifts the display over 1 bit to the right (immed) Example: \xf0ff>>4 = \xf0f | Disp>>1 |
Lrot | Rotates the display 1 bit to the left, bit 32 is rotated out of position to bit 1 (immed) Example: \xf0ff<20 = \x0ff0000f | Disp<1 |
Rrot | Rotates the display 1 bit over to the right, bit 1 is rotated out of position to bit 32 (immed) Example: \xf0ff>4 = \xf0000f0f | Disp>1 |
Neg | Replaces the display with its two's complement (immed) | -Disp |
Not | Replaces the display with its one's complement (immed) | ~Disp |
Built-in function | Description | |
---|---|---|
Inp | Prompt the user for input, the argument to this function is the prompt. For example: Inp("Enter Number"). | |
return | returns the result of the program. Unlike "C", you must use the parenthisis otherwise, it works the same. The expression is executed and is used as the result of that program. Ex. return(100+2) | |
Pct | Computes the argument 2 percentage of argument 1 | |
CE | Clear entry, no result returned | |
Clr | Clear all, no result returned | |
Sin | Sine of argument Ex. Sin(45) | |
Cos | Cosine of argument Ex. Cos(45) | |
Tan | Tangent of argument Ex. Tan(45) | |
ASin | Arc Sine of argument Ex. ASin(.707) | |
ACos | Arc Cosine of argument Ex. ACos(.707) | |
ATan | Arc Tangent of argument Ex. ATan(1) | |
Sinh | Hyperbolic Sine of argument Ex. Sinh(45) | |
Cosh | Hyperbolic Cosine of argument Ex. Cosh(45) | |
Tanh | Hyperbolic Tangent of argument Ex. Tanh(45) | |
Sqrt | Square root of argument Ex. Sqrt(100) | |
Pow | x**y Ex. Pow(2,4) | |
Log | Natural Logorithm of argument Ex. Log(2.718) | |
Log10 | Base 10 Logorithm of argument Ex. Log10(100) | |
Exp | Exponent e**n Ex. Exp(1) | |
Cbrt | Cube root of argument Ex. Cbrt(27) |