In decimal, I have the numbers 4 and 5 for example. I want to concatenate them into the number 45, but then in binary. In decimal, it's just a matter of sticking the numbers together, but I need to do that in binary. I'm not using a programming language, I'm using logical electronic circuitry. But that aside, I need to know how to do it for the general mathematical case if you can call it like that.
4 in decimal = 100 in binary, 5 in decimal = 101 in binary, 45 in decimal = 101101 in binary
As you can see, with binary it's not just a matter of sticking both sequences together. What I need is an explanation of how to get to the answer 45, in binary, by performing arithmetic, number swapping or whatever the two binary sequences that is nessecary.
Thanks for reading, I'd appreciate any help.