04-25-2020, 03:27 PM
Hello! I am on my last study.com course and I am having a little bit of difficulty with the final assignment. I have completed 3 outta of 4 parts of the project but the last phase confuses me alot and I am completely lost. I did good on the homework but not as good on the final and I really prefer not to spend $70 to raise my score. I just need a solid project score. But the project is confusing me. The part in particular is Phase Four
In order to be able to write assembly language for the CPU we need to add to instructions (without implementation):
I am not looking for answer or to cheat. I am just wondering if anyone knows a youtube link that explains or shows this last part. I have look at the study.com lessons and they do not seem to explain this. Any help would be greatly appreciated.
In order to be able to write assembly language for the CPU we need to add to instructions (without implementation):
- branch to an address (name it JMP)
- conditional branch to an address (name it CJMP and suppose that the jump takes place if the comparison operation result is 'equals')
- Write a program that adds two operands.
- Write a program that adds operands until the new value to be added is 0. You do not need to implement the input operations to modify the contents of the registers. Just assume that by the end of each iteration, the register content is modified.
- Write a program that increments by 2 the content of a register 10 times.
- Write a program that shifts the content of a register until the least significant bit is 0. Think of a way to stop shifting if the content of the register is 11111111 and add it to your program.
I am not looking for answer or to cheat. I am just wondering if anyone knows a youtube link that explains or shows this last part. I have look at the study.com lessons and they do not seem to explain this. Any help would be greatly appreciated.