almost the same, but you'll need Var+2 and var +3
Maybe some stuff could be extracted from
http://www.piclist.com/techref/micro...frtomath32.asm
http://www.piclist.com/techref/micro...32bmath-ph.htm
almost the same, but you'll need Var+2 and var +3
Maybe some stuff could be extracted from
http://www.piclist.com/techref/micro...frtomath32.asm
http://www.piclist.com/techref/micro...32bmath-ph.htm
Last edited by mister_e; - 19th December 2007 at 03:04.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
It appears that the best routine would be
count32
incfsz var
bra doneproc
incfsz var + 1
bra doneproc
incfsz var + 2
bra doneproc
incf var + 3
bnc doneproc
bsf eflag,0
doneproc
but I can't test it tonight. Can anyone find anything wrong with this?
Charles Linquist
This has to work... hey that was easier than you thought right?
EDIT it runs smooth on MPSIM...well for that i may trust MPSIM
![]()
Last edited by mister_e; - 19th December 2007 at 03:53.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I tried it this morning. It works. The technique works with any number of bits.
Charles Linquist
Bookmarks