Question
ARM assembly language

Write the final updated values for each memory and register after the given instruction executes in the space provided.There are multiple parts of this problem. Note Only write the change values if the values didn't change. Leave the updated cell blank.

please explain (as simple as possible ) whats going on after the given command is executed .

Q.5.4 Bring to class LSL R6, R6, #3 Updated Data Updated Data Memory Address Ox84F0 Ox 841 Ox84F2 Ox843 Ox8454 Ox84F5 Ox84F6
0 0
Add a comment Improve this question Transcribed image text
Answer #1

LSL - Logical Shift Left

R6 = 0x041B0C0D = 0000_0100_0001_1011_0000_1100_0000_1101

After execution of LSL R6, R6, #3

R6 = 0010_0000_1101_1000_0110_0000_0110_1000 is shifted left by 3 bits position and 0's enters from left.

After execution of above instruction, only R6 contents will change.

Therefore R6 = 0x20D86068

Add a comment
Know the answer?
Add Answer to:
ARM assembly language Write the final updated values for each memory and register after the given...
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
  • Compute the correct CPU computations and actions. Write the final updated values for each memory, register...

    Compute the correct CPU computations and actions. Write the final updated values for each memory, register and flags after the given instruction executes in the space provided. There are multiple parts of this problem. Endianness: Check for endianness in case of loads and stores, in each part of the question. If the question does not specify the endianness, you can assume little-endian. MOVT R3, #OxBD34 Orig. Updated Data Updated Data R6 Memory Address Ox84F0 0x84F1 0x8452 Ox84F3 Ox8454 Ox84F5 Ox84F6...

  • using ARM64 assembly language. this was all the information I was given, if unable to answer...

    using ARM64 assembly language. this was all the information I was given, if unable to answer please refund question, please dont ask for additional information Compute the correct CPU computations and actions. Write the final updated values for each memory and register after the given instruction executes in the space provided. There are multiple parts of this problem. Check for endianness in case of loads and stores in each part of the question. (Note: Only write the changed values, if...

  • Section B - ARM Assembly Language (25 marks) An ARM instruction set summary is provided at...

    Section B - ARM Assembly Language (25 marks) An ARM instruction set summary is provided at the end of this paper 1. (5 marks) Consider the following assembly instruction STMFD r13!, (r5-6} Before executing this instruction, registers hold the following values: Register Value Register r9 Value r4 0x00400040 0x00000000 r5 r10 0x11223344 0x00800080 r6 0x55667788 r11 0x10001000 r7 0x99aabbcc r12 0x20002000 r8 exddeeff00 r13 ex40004000 What memory locations are affected after executing the above instruction? In a table, with a...

  • Assembly language 64 bit please ! An example file for set up ==========+ ;| Data Segment...

    Assembly language 64 bit please ! An example file for set up ==========+ ;| Data Segment BEGINS Here | ;+======================================================================+ segment .data ;Code this expression: sum = num1+num2 num1 dq 0 ;left operand of the addition operation num2 dq 0 ;right operand of the addition operation sum dq 0 ;will hold the computed Sum value RetVal dq 0 ;Integer value RETURNED by function calls ;can be ignored or used as determined by the programmer ;Message string prompting for the keyboard...

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