Question

QUESTION 10 Given the instruction set for MARIE: Instruction Opcode Instruction Opcode Instruction JnSX Load X Store X Add X

1 0
Add a comment Improve this question Transcribed image text
Answer #1

Please up vote ,comment if any query . Thanks.

Answer :

Marie instruction are format 16 bit long .

instruction OPCDOE are 4 bit long and remining 12 bit for address contained by operand

ADD 005

ADD is instruction

005 the address in memory where a value is located

ADD instruction addition the value located at 005 and AC(accumlator)

AC= AC+M[X]   

ADD-> AC+M[X]

opcode of instruction =3 (4 bit ) in binary = 0011

address 005 = 0x005 in binary = 0000 0000 0101

total 16 bit machine code is

machine code in binary = 0011 0000 0000 0101 (16 bit long)

16 bit long string = 0011000000000101 (without spaces)

Please comment if any query . Thanks .

Add a comment
Know the answer?
Add Answer to:
QUESTION 10 Given the instruction set for MARIE: Instruction Opcode Instruction Opcode Instruction JnSX Load X...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT