Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How to write do a pseydocodes in this program M MARIE Assembler Code Editor File Edit Assemble Help 7/1 am writing Marie assembly program that
How to write do a pseydocodes in this program
M MARIE Assembler Code Editor File Edit Assemble Help 7/1 am writing Marie assembly program that first pushes 1234 and peek displays the 1234, //then code pushes 5678 and peek2 displays 5678. Code is as follows ORG 100 PUSH, LOAD SP //SP points to to top of stack ADD ONE //to increment SP STORE SP LOAD X //Value X to be pushed inside stack Store SP //to push the data to the stack PEEK LOAD SP OUTPUT PUSH2, LOAD SP //SP points to the top of stack ADD ONE //to increment SP STORE SP LOAD Y 7/Value Y to be pushed inside stack Store SP //to push the data to the stack PEEK2, LOAD SP OUTPUT HALT HEX 0110 DEC 1 DEC 1234 DEC 5678 C:\Users\Tzimakos Desktop Exercise 2 testmas ENG UK 10:45 PM 13/01/2020 M MARIE Simulator ile HunStop Step Breakponts Symbol Map Help W 107 blood PUSO LOAD SP perhex 110 0000 MARE Amber Code Editor te a Assemble riting te bly /the code pushes 5478 and pee GG 100 LOAD SP /SP points to ALO ONE / Intre STORE SE LAAD X Nave to be SP to push the LOADS 2107 0000 106 STORE SP LODY STORE SP LOAD SO BUTHIE 000 de 0000 0110 HEX DEC DEC to increment O ONE STORT SP LORD Y 1234 5673 lueto FEB. TOAD SP OTRE + 12345 00000000000000000000 oto 0 0000 0000 0000 0000 00000000000000 2110 210 Or 110F CODILOY110T 33 0000 0000 0000 0000000000000 0000 0000 0000 0000 0000 0000 0000 0000 0000000000 10 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 000000000 og OO 0000 0000 0000 0000 0000 0000000000 0 00000 cristopExtremece Type here to search M MARIE Assembler Code Editor File Edit Assemble Help 7/1 am writing Marie assembly program that first pushes 1234 and peek displays the 1234, //then code pushes 5678 and peek2 displays 5678. Code is as follows ORG 100 PUSH, LOAD SP //SP points to to top of stack ADD ONE //to increment SP STORE SP LOAD X //Value X to be pushed inside stack Store SP //to push the data to the stack PEEK LOAD SP OUTPUT PUSH2, LOAD SP //SP points to the top of stack ADD ONE //to increment SP STORE SP LOAD Y 7/Value Y to be pushed inside stack Store SP //to push the data to the stack PEEK2, LOAD SP OUTPUT HALT HEX 0110 DEC 1 DEC 1234 DEC 5678 C:\Users\Tzimakos Desktop Exercise 2 testmas ENG UK 10:45 PM 13/01/2020 M MARIE Simulator ile HunStop Step Breakponts Symbol Map Help W 107 blood PUSO LOAD SP perhex 110 0000 MARE Amber Code Editor te a Assemble riting te bly /the code pushes 5478 and pee GG 100 LOAD SP /SP points to ALO ONE / Intre STORE SE LAAD X Nave to be SP to push the LOADS 2107 0000 106 STORE SP LODY STORE SP LOAD SO BUTHIE 000 de 0000 0110 HEX DEC DEC to increment O ONE STORT SP LORD Y 1234 5673 lueto FEB. TOAD SP OTRE + 12345 00000000000000000000 oto 0 0000 0000 0000 0000 00000000000000 2110 210 Or 110F CODILOY110T 33 0000 0000 0000 0000000000000 0000 0000 0000 0000 0000 0000 0000 0000 0000000000 10 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 000000000 og OO 0000 0000 0000 0000 0000 0000000000 0 00000 cristopExtremece Type here to searchStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started