how do we put the program instruction c = a-b; in machine code instructions? i've been provided with op-codes, memory address for a=80, b=81, c=82 and program counter = 30 hex. instructions are 16 bits long with 4bit op-code, 4bit for register and 16 bit for memory address.
i just need to know the formal way how it is started. this is because i really don't understand what my lecturer teaches. if i can get a clear direction, then i am confident i can do this without the help of my lecturer.