OK thanks to all i believe I have the answers now.

For the last issue masking the four bits works.

BD[2] = bd[2] AND $0F