Well, the more I learn about PBP, the more I look back on my older programs and say to myself "What was I thinking!".
In my example above, I stated that the PBP system variables were not available to PBP commands. enhhhh, wrong answer.
I just found out that all the PBP system vars are just like any other variables. They are defined in the PBPPICxx.RAM file.
Knowing this, getting the remainder of a Div32 is even easier. It's in R2.
So with the previous example, after the
Result = Div32 DivideBy
you don't need the @ MOVE?WW, The remainder is in R2
Remainder = R2
Still learning,
Darrel




Bookmarks