[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.5.3 General Functions

2EFBE WORDSIZE ( → # )
Returns the current wordsize as a bint.
2EFAA dostws ( # → )
Sets the current wordsize.
055D5 NULLHXS HXS 0
Puts a null hxs in the stack.
05566 (NULLHXS?) ( hxs → flag )
Returns TRUE if the input is a null hxs.
0518A &HXS ( hxs hxs' → hxs" )
Appends hxs" to hxs'.
34C82 EXPAND ( hxs #nibs → hxs' )
Appends #nibs zero nibbles to the hxs.
05616 LENHXS ( hxs → #nibs )
Returns length in nibbles.
05815 SUBHXS ( hxs #m #n → hxs' )
Returns sub hxs string.
2EFB9 bit+ ( hxs hxs' → hxs" )
Adds two hxs.
2EFC8 bit%#+ ( % hxs → hxs' )
Adds real to hxs, returns hxs.
2EFC9 bit#%+ ( hxs % → hxs' )
Adds real to hxs, returns hxs.
2EFBA bit- ( hxs hxs' → hxs" )
Subtracts hxs2 from hxs1.
2EFC6 bit%#- ( % hxs → hxs' )
Subtracts hxs from real, returns hxs.
2EFC7 bit#%- ( hxs % → hxs' )
Subtracts real from hxs, returns hxs.
2EFBC bit* ( hxs hxs' → hxs" )
Multiplies two hxs.
2EFC4 bit%#* ( % hxs → hxs' )
Multiplies real by hxs, returns hxs.
2EFC5 bit#%* ( hxs % → hxs' )
Multiplies hxs by real, returns hxs.
2EFBD bit/ ( hxs hxs' → hxs" )
Divides hxs1 by hxs2.
2EFC2 bit%#/ ( % hxs → hxs' )
Divides real by hxs, returns hxs.
2EFC3 bit#%/ ( hxs % → hxs' )
Divides hxs by real, returns hxs.
2EFAC bitAND ( hxs hxs' → hxs" )
Bitwise AND.
2EFAD bitOR ( hxs hxs' → hxs" )
Bitwise OR.
2EFAE bitXOR ( hxs hxs' → hxs" )
Bitwise XOR.
2EFAF bitNOT ( hxs → hxs' )
Bitwise NOT.
2EFB8 bitASR ( hxs → hxs' )
Arithmetic shift one bit to the right. The most significant bit (the sign) does not change.
2EFB6 bitRL ( hxs → hxs' )
Shifts circularly one bit to the left.
2EFB7 bitRLB ( hxs → hxs' )
Shifts circularly one byte to the left
2EFB4 bitRR ( hxs → hxs' )
Shifts circularly one bit to the right.
2EFB5 bitRRB ( hxs → hxs' )
Shifts circularly one byte to the right.
2EFB0 bitSL ( hxs → hxs' )
Shifts one bit to the left.
2EFB1 bitSLB ( hxs → hxs' )
Shifts one byte to the left.
2EFB2 bitSR ( hxs → hxs' )
Shifts one bit to the right.
2EFB3 bitSRB ( hxs → hxs' )
Shifts one byte to the right.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Carsten Dominik on May, 30 2005 using texi2html