Functions | |
int | hps_depth (int *depth) |
Gets the depth of the current RPL stack. | |
int | hps_avail (int *avail) |
Gets the available number of levels for the RPL stack. | |
int | hps_drop (void) |
Drops the top of the current RPL stack. | |
int | hps_dropn (int levels) |
Drops the n first objects of the current RPL stack. | |
int | hps_swap (void) |
Swaps the two first levels of the current RPL stack. | |
int | hps_rot (void) |
Rotates the three first levels of the current RPL stack. | |
int | hps_unrot (void) |
Unrotates the three first levels of the current RPL stack. | |
int | hps_roll (int levels) |
Rolls the n first levels of the current RPL stack. | |
int | hps_rolld (int levels) |
Rolls down the n first levels of the current RPL stack. |
int hps_avail | ( | int * | avail | ) |
Gets the available number of levels for the RPL stack.
This function gets the number of levels that are currently available for the RPL stack.
avail | Pointer to the number of available levels |
int hps_depth | ( | int * | depth | ) |
Gets the depth of the current RPL stack.
This function gets the depth currently used in the RPL stack.
depth | Pointer to the depth |
int hps_drop | ( | void | ) |
Drops the top of the current RPL stack.
This function performs a DROP.
int hps_dropn | ( | int | levels | ) |
Drops the n first objects of the current RPL stack.
This function performs a DROPN. If there is not enough objects, nothing is dropped.
levels | Number of levels to drop. |
int hps_roll | ( | int | levels | ) |
Rolls the n first levels of the current RPL stack.
This function performs a ROLL.
levels | The number of objects to roll. |
int hps_rolld | ( | int | levels | ) |
Rolls down the n first levels of the current RPL stack.
This function performs a ROLLD.
levels | The number of objects to roll down. |
int hps_rot | ( | void | ) |
Rotates the three first levels of the current RPL stack.
This function performs a ROT.
int hps_swap | ( | void | ) |
Swaps the two first levels of the current RPL stack.
This function performs a SWAP.
int hps_unrot | ( | void | ) |
Unrotates the three first levels of the current RPL stack.
This function performs an UNROT.