2009-09-10 03:25:56 loop counter issue
Bhama AVM (INDIA)
From the BF HWR manual,
Warning: When LCx = 0, the loop is disabled, and a single pass of the code executes. If the loop counter is derived from a variable with a range that may include zero, it is recommended to guard the loop against the zero case.
It seems to be that this is not taken care in some of the functions like : outsw()
Please do check it and take care in all possible places to avoid issues with applications which works in other processors but not in BF due to above issue.
2009-09-10 03:43:36 Re: loop counter issue
Mike Frysinger (UNITED STATES)
what exactly is your question ? it doesnt make any sense to call an in/out function with a length of 0. if you do, your code is broken.