C200HBAT09 Omron, C200HBAT09 Datasheet - Page 118

no-image

C200HBAT09

Manufacturer Part Number
C200HBAT09
Description
C200H REPLACEMENT BATTERY
Manufacturer
Omron
Datasheet

Specifications of C200HBAT09

Rohs Compliant
NO
Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Assembly Language Example
104
Assembly Program
$2000 PSHA
$2016 LDX
$2032 LDX
$203B DECB
PSHB
PSHX
LDD
STD
LDD
STD
LDAB 0,X
LDX
STX
LDAA 0,X
INX
STX
CMPA #$30
BLT
CMPA #$39
BHI
LDX
STAA
INX
STX
BRA
STAA
INX
STX
BNE
LDD
LDX
STX
#$2600
$2500
#$2700
$2502
1,X
$2504
$2504
$2504
$2032
$2032
$2500
0,X
$2500
$203B
$2502
0,X
$2502
$2016
$2500
#$2600
$2504
Assembly language program operation:
The numbers and characters are separated and stored in the number stor-
age buffer and the character storage buffer, respectively. Then numeric
strings and character strings are restored as the original character variables.
This program has no practical application; it is an example only.
Saves registers
Sets first address of buffer 1 in pointer 1
Sets first address of buffer 2 in pointer 2
Number of characters to GET
Character variable first address GET
DOUNTIL (number of times equal to the number of characters)
Character GET
Character variable address pointer + 1
IF ($30 min.)
THEN
Stores numeral in buffer 1
ENDIF
Stores character in buffer 2
Updates counter
ENDDO
Transfer from buffer 1 to a character variable
IF (numeral less than $39)
THEN
Section 6-3

Related parts for C200HBAT09