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?
In MASM(80x86) Assembly Language, how would one declare an array of strings? The user should be...
In MASM(80x86) Assembly Language, how would one declare an array of strings? The user should be able to use keyboard input to put each string in the array. When they are done, they will type "x." The program should then print out the contents of the entire array. How would one implement a MASM 80x86 program that accomplishes this?
We have learned about how language influence our thinking and how thinking influences our language. Discuss...
We have learned about how language influence our thinking and how thinking influences our language. Discuss an example of language influencing our thinking about sex and/or gender, and then discuss an example of sex and/or gender influencing our thinking. Please be specific and include information from your text when possible.
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 ?
How would you solve a problem using a new technology? what  methods would you go about?
How would you solve a problem using a new technology? what  methods would you go about?
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.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT