I have to build a simple assembler, where I read in a instruction in assembly and then convert it to its machine code equivalent. I need some help getting started. I know how to find the machine code equivalents, looking up opcodes, registers codes etc.. I am just stuck on how to actually go about converting it in the program. In Mips you can only alter bytes, but what I need to do is combine or alter bits.