![]() |
replace_top2_with_pow | Function (ROM Call 0x52A) |
AMS 2.02 or higher | estack.h |
void replace_top2_with_pow (ESI expr); |
Replace the two top-most expressions on the EStack by a power.
The following code:
push_quantum(VAR_A_TAG); ptr = top_estack; push_quantum(VAR_B_TAG); replace_top2_with_pow(ptr);will leave the b ^ a expression on the EStack.
next_expression_index(top_estack)
.