Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Fill in just the binary data with exactly 16 binary digits. Do NOT prefix with 0

ID: 3811628 • Letter: F

Question

Fill in just the binary data with exactly 16 binary digits. Do NOT prefix with 0b, do NOT convert to any other number base, and do NOT break up the binary digits into multiple sections. For example, 1001010001011111 is a proper response.

Encode the following instructions into their binary equivalent (Refer to ARMv7M Architecture Reference Manual.pdfPreview the documentView in a new window chapter A7.7):


bx lr


ands r4, r2


itt vs


asrs r7, r1, 7


b label (assume label is address 0xf7)


cmp r4, r6


cmp r2, 15


push {r1, r2, lr}


pop {r3, r4, pc}

Explanation / Answer

Binary equivalents are as follows :

1) bx lr - binary equivalent is : 0111000001000111

2) ands r4,r2 - binary equivalent is : 0001010001000000

3) itt vs - binary equivalent is : 0110010010111111

4) asrs r7,r1,7 -binary equivalent is : 1100111100010001

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote