I also found something weird... if i use the SWAP command between lCost and hCost:


Swap lCost,hCost

Both variables end up holding the same data $CC.. I still can't figure out why this is happeneing yet. It is like there is a problem writing data to the higher byte in Cost (hCost)