I was wondering about those labels. The stack is labeled wrong for getting the intuitive concept across.Be careful. I think the stack begins at Stack Base. So the first value of 3 should be at location Stack Base. The first PUSH instruction would put the value 1 at Stack Base + 1.
I was thinking in RPN, the best calculator OS around, from HP. Give a 35s a try!Yeah the stack + 3 is the top of the stack, so stack base initially contains value 3. Also, ADD/MULS apparently does not delete the 2nd top element...it just takes result and overwrites top element (according to Professor for this problem only).
|Thread starter||Similar threads||Forum||Replies||Date|
|Can anyone help to write the Marie Assembly language code for the following question?||Homework Help||14|
|R||Please help me to convert this C code to assembly language of MIPS?||Programming & Languages||10|
|S||Dragon Board HCS12 Assembly Language, help||Microcontrollers||7|
|A||How to use TIMR0 in PIC16F84A using assembly language PLZ I need help||Microcontrollers||44|
|U||Assembly Language help||Homework Help||3|
|Can anyone help to write the Marie Assembly language code for the following question?|
|Please help me to convert this C code to assembly language of MIPS?|
|Dragon Board HCS12 Assembly Language, help|
|How to use TIMR0 in PIC16F84A using assembly language PLZ I need help|
|Assembly Language help|
by Gary Elinoff
by Lisa Boneta