
PMC Program Conversion Tool
Operator’s Manual
001 04.08.09 M.Ichijo New A-79700E
EDIT
DATE
DESIG.
DESCRIPTION
61/97
TITLE
DRAW.NO.
SHEET
CUST.
TITLE
5.4.24 DCNVB
PMC-SB7
DCNVB
- Data size is specified by format parameter of the instruction.
- CNV signal specifies the direction of conversion is from binary to BCD / from BCD to
binary.
- SIN signal specifies the sign of BCD data that is used when CNV is 1.
PMC-SD7
(Not converted)
Not converted.
- Conversion tool cannot decide conversion direction because it is impossible to tell the
contents of CNV signal when conversion.
User’s operations to
finish conversion
Please replace by SINT_TO_BCD2 / BCD2_TO_SINT / INT_TO_BCD4 / BCD4_TO_INT /
DINT_TO_BCD8 / BCD8_TO_DINT.
Please note the followings.
- Meaning of ENO of above functions is opposite to W1 of DCNVB.
(ENO is turned on when process is normally end but W1 is turned on when error occurs.)
- DCNVB outputs overflow and negative flag to R9000 (Operation output register) when
conversion is binary to BCD. However these result cannot get by (type)_TO_BCD*.
- DCNVB can get negative result by using SIN signal when conversion is BCD to binary. To
make similar process, execute multiply by –1 if SIN signal is on.