How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask AAATom Your Own Question
AAATom, Computer Software Engineer
Category: Programming
Satisfied Customers: 469
Experience:  20+ years of experience in embedded programming (assembly, C), Windows programming (VB, user interface design)
Type Your Programming Question Here...
AAATom is online now

ForCustomeronly Hi, i was wondering if you could help me i

This answer was rated:

For AAATom only Hi, i was wondering if you could help me i need some help with this piece of work as im finding it very hard to understand its to do with micro programming:

Here is a link to all the information you will need: mic
Hello Elliot,

thank you for requesting me again!

I will take a look at the files and get back to you shortly.

Thank you,

this one is an interesting one, I admit, but it requires getting acquainted with the MIC-1 and only that can take me couple of hours.
I may try to "jump start" the microcode for DJNZ without understanding MIC-1 completely, though. If that proves to require more time I will let you know.

There is one thing in the "Microprogram assignment brief.doc" that puzzles me - the term "paper architecture", what does it refer to? Is that the MIC-1 architecture?

Thank you,
Customer: replied 3 years ago.

I know, that's fair enough and with the paper architecture i think it might mean this if not im not so sure that's all the information i can find.

also with this could you write about what you have done and explain what is going on and and with writing the code could you do it as simply possible ifs that ok sorry i know im asking a lot if the work load turns out to be a lot i will add a bonus for your time


thank you for additional info.

I will write an explanation of the microcode, no problems.
It will be as simple as possible, there is no other way. :)

I think I have understood the microcode and how to add it to the microcode program (sim.emi) but I do not know how to add DJNZ mnemonic so that Mic1.exe recognizes it.
Do you have any hints for that?

Thank you for offering me a bonus, I appreciate it! I am currently at the end of the second hour.

Thank you,



Update: I found the way to define the DJNZ mnemonic and got it to work!

I am cleaning up and will write descriptions.

Hello Elliot,

I have finished the assignment.

Please, download the zip file containing modified files from here:

The modified files are:
Sim.emi = microprogram file that contains the DJNZ modification
Microprogram-mod1.doc = updated microcode "listing", added DJNZ microcode
Instructionset-mod1.doc = updated instruction set, updated DJNZ instruction
DJNZ-test.txt = assembler code for testing DJNZ op-code
Microprogram assignment description.doc = document containing the description of how the DJNZ microcode works (as well as the list of "desirable op-codes" as per assignment brief).

You can inspect the Sim.emi by opening it with Mip.exe.
You can run the DJNZ-test.txt by opening it with Mic1.exe.

Please check it out and let me know if there are any issues.

Thank you,

P.S. It took me almost four hours to figure out the microcode, how to use Mip.exe, Mic1.exe, how to define DJNZ mnemonic, write the DJNZ microcode (that was the easy part), add it to existing microcode, test it and write the description. I realize that this may seem long but I had to start from scratch. Hopefully this does not exceeds you budget too much. :)
AAATom and other Programming Specialists are ready to help you
Hello Elliot,

I noticed that you did not yet view my post with the results.
As the deadline for the assignment is nearing I thought I might send you a note in case you missed the email notification for the answer post.

If you need any assistance with it I will be glad to help.

Customer: replied 3 years ago.

sorry tom I've had trouble view the just answer website over the last few days it seems to be working now thank you very much for doing the work and i will add a bonus fir the time you put in

Customer: replied 3 years ago.

sorry *viewing the website also the download link doesn't seem to work could it be that it has expired

Hello Elliot,

I am sorry for the link. Something went wrong with t.

Please try this new one:

Let me know if you face any difficulties with it.

Thank you for excellent rating and bonus, I appreciate it very much!


just in case you have problems with the site, as you mentioned - if you do get email notifications about my posts, you can copy and paste the link from email to the browser.
Here is the link again for your reference:

Customer: replied 3 years ago.

thanks very much tom i appreciate would it be possible for you to add another op-code that might be useful when it comes to this i will ask a separate question.

You are welcome, Elliot!

Do you mean to add microcode for another op-code?
Yes, I can do that, no problems.

Customer: replied 3 years ago.

Yes, that what i mean sorry will ask another question

OK, I see the question, thank you!