Hello there,
May I get the details of what you are really trying to do, such as the specification of the problem statement and details of machine instructions (opcode) to follow?
So far, I completed three assignments in compiler design using flex, bison and C programming. Each of these assignments required to develop code for the first three stages of a compiler, namely, lexical analysis, syntax analysis, and semantic analysis.
Though I never developed a code for an assembler in C, I would like to take a look at the detailed problem description and see if I can help you.
Feel free to contact me, if you find this proposal useful.
Regards,
Atul Rajdhar