bernie_carlton
Lifetime Supporting Member + Moderator
You are loading and dividing the contents of the timer's accumulators (TA0, TA2) as if they were REAL numbers. They aren't. They're 32 bit BCD. To get to REAL number processing you woyuld have to do this:
LDD TA0
BIN
BTOR
OUTD VXXXX0
LDD TA2
BIN
BTOR
DIVR VXXXX0
OUTD V10002
LDD TA0
BIN
BTOR
OUTD VXXXX0
LDD TA2
BIN
BTOR
DIVR VXXXX0
OUTD V10002