Chapter 2. Program Organization
▪
When a parameter is passed by value result (UDFB inputs only), the value of its argument is
copied into a local stack memory associated with the called block, and the address of its
argument is saved. All logic within the called block that reads or writes to the parameter is
reading or writing to this stack memory. When the called block completes its execution, the
value in the stack memory is copied back to the actual argument's address. Thus, no changes
are made to the actual argument while the called block is executing, but when it completes
execution, the actual argument is updated.
20
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C