HP Forums

Full Version: begin/end flag on 12C
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a shorter (in terms of memory) way to the test the begin/end flag in a program than just to try a defined TVM calculation on the 12C? Quite sure there isn't one but one never knows.
It's one of the bits in the CPU's status register so I'm not sure how you'd go about extracting that on a 12C with no means of synthetic programming.

What exactly are you trying to achieve? It might be possible to use something more accessible (such as a register) to hold the value and make the decision what to do, then run BEGIN or END in the corresponding program branch.
(06-26-2018 07:53 AM)grsbanks Wrote: [ -> ]What exactly are you trying to achieve?
Implementing a simple interest calculation based on the TVM registers; returns the result in the PMT register. Works, but disregards the flag in favour of the end mode.

Edit:
(06-26-2018 07:53 AM)grsbanks Wrote: [ -> ]It might be possible to use something more accessible (such as a register) to hold the value and make the decision what to do, then run BEGIN or END in the corresponding program branch.
Yes, but by using the known registers only the program becomes quite intuitive to use.
Reference URL's