If you load values in BCD, status bits 14 and 15 of the timer or 12 to
15 of the counter are not loaded. They have the value 0 in ACCU 1.
The value in the ACCU can now be processed further.
Timer value
Timer T 10
ACCU 1
10
2
10
0
10
1
901213
1213
0
347811’0’
Time base
Timer value
Time base
Binary BCD
Counter value
Counter C 10
ACCU 1
10
2
10
0
10
1
Counter value in BCD
Binary BCD
90
0
3
478
11
’0’
Loading timer values in BCD code:
"LC T 10": Loads the timer value and time base of
timer T 10 into ACCU 1 in BCD
The time base is also loaded.
Loading counter values in BCD code:
"LC C 10": Loads the counter value of counter C 10
into ACCU 1 in BCD
Basic Operations
CPU 948 Programming Guide
3 - 30 C79000-G8576-C848-04