Binary-coded decimal arithmetic