Solved bug in BCD output. Thanks to Frank IZ4YDF.