I need some help on converting a 12 bit machine code to machine language like a parser. I would like to write it in c code.
For example, by inputing: '000 00 01 01001'
it should return: 'op code 000, source register is 0, dest. register is 1 and the immediate value is 9 (base 10).
Please help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.