Given the instruction set for MARIE: Write the assembly language equivalent for the machine instruction: 1011 000000001111.
Added by Mary S.
Step 1
In MARIE, 1011 corresponds to the instruction "Store". Show more…
Show all steps
Your feedback will help us improve your experience
Michael Feffer and 92 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Using the MARIE computer assembly language, write a program that computes the following expression: z = a * b * c. The computer will read in the input values a, b, and c from the keyboard, and the final result (z) has to be displayed. In addition, every time an input value is read in, it must be displayed on the screen. Remember that the instruction set does not have an instruction to execute multiplication. The program must be tested in the MARIE simulator. Your assembly program should be saved as a MARIE mas file. For example: myprogramname.mas
Akash M.
Provide the format and assembly language instruction for the following hex values: Address 1000: 13 Address 1001: 03 Address 1002: C5 Address 1003: 00 Hint: First consider big-endian vs. little-endian as you convert to binary. Then, divide the bits up into the appropriate fields, decipher the opcode, and so on.
Sri K.
Aarya B.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD