Question

How would you go about creating a subroutine in MARIE assembly language that inputs text from...

How would you go about creating a subroutine in MARIE assembly language that inputs text from a keyboard?

Homework Answers

Answer #1

MARIE is basically abbrevated as Machine Architecture That Is Really Intuitive And Easy, It is a Assembly Language and Machine Architecture.

We have a bunch of registers in MARIE just like we have in other architectures and the registers are,

AC as in Accumulator: Data is stored in this register.

PC as in Program Counter: it stores current position of the instruction.

MAR as in Memory Access Register: stores or retrives the data.

MBR as in Memory Buffer Register and IR as in Instruction Register respectively.

Now, lf talking about Instructions MARIE has got a pretty number of them,The type of instructions are

Arithmetic

Data Transfer

I/O

Branch

Subroutine

Indirect Addressing

I/O:

This type contains INPUT and OUTPUT instructions respectively,

INPUT instruction takes the input from the keyboard as stores in AC

OUTPUT instruction takes the data from AC and displays it.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
If you had infinite time and resources, how would you go about creating a sampling distribution...
If you had infinite time and resources, how would you go about creating a sampling distribution for samples of size n = 5 from a given population?
How would you go about recruiting RN's you work with into the volunteer role ?
How would you go about recruiting RN's you work with into the volunteer role ?
As a CEO of an hospital how would you go about strategic planning for your own...
As a CEO of an hospital how would you go about strategic planning for your own facility?
f you had $50,000 to invest in the stock market, how would you go about reducing...
f you had $50,000 to invest in the stock market, how would you go about reducing your risk exposure?
Marketing Research is an important aspect of developing a marketing strategy. How would you go about...
Marketing Research is an important aspect of developing a marketing strategy. How would you go about collecting data, what data is important, where would you begin.
How would you go about designing and implementing a DBMS, CRM, ERP system on a website...
How would you go about designing and implementing a DBMS, CRM, ERP system on a website or for your buissness?
Describe how you would go about estimating the static friction coefficient between an object and a...
Describe how you would go about estimating the static friction coefficient between an object and a horizontal surface. Discuss your methodology and results.
Please Code in Assembly Language Code solution using the provided template AL_Template_Irvine32.asm located towards the bottom...
Please Code in Assembly Language Code solution using the provided template AL_Template_Irvine32.asm located towards the bottom of the question. Debug programs with Visual Studio2017/19. Please add single line or block comments explaining the purpose or functionality of your code statements. Draw Text Colors Write a program that displays the same string in four different colors, using a loop. Call the Set-TextColor procedure from the book’s link library. Any colors may be chosen, but you may find it easiest to change...
How would you go about taking an inventory of your audience before presenting? what are some...
How would you go about taking an inventory of your audience before presenting? what are some examples of ways to retrieve information about an audience before a presentation?
How would you go about figuring out the number of beds needed to be added in...
How would you go about figuring out the number of beds needed to be added in your community hospital for a new service line your senior leadership decided to pursue based on epidemiological and marketing considerations?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT