HI guys ,
i have been trying to get N-BIT Math equivalent equation to the following commands
if A_32bit < B_32bit then
B_32bit = A_32bit
PBP_X = PBP_Y
endif

if A_32bit> C_32bit then
C_32bit = A_32bit
PBP_X = PBP_Z
endif


N bit math allows for compare command using DT wraper (@ MATH_CMP _A, _B ; Compare Pvars - result in M_EQ and M_GTE bits)
this actually means
"M_CMP Z <=> X -> STATUS Compare registers Z and X. Comparison results are returned in the STATUS register. If register Z==X, the Z-bit of the STATUS register is set. If register Z=>X, the C-bit of the STATUS register is set.


looking at the notes on the command
http://avtanski.net/projects/math/
http://www.picbasic.co.uk/forum/showthread.php?t=12433

in this example there is mix of 32 nbit Nmath varables that then if true select PBP varables

i can not see a lessthan (<) option in this description of equation and its not clear how i can use the result to then do further work to the PBP varables in the above equation as yet

some help on how to get the compare command to do the above would be great

Cheers

Sheldon