Dumping and creating binary

Create the end goal binary string. Not quite working. Some instructions
are getting the operands mixed up for some reason.