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