Question: Write an MPS430 assembly language subroutine, SEQ, to examine the contents of register R5. If, at any position in R5, there is a pattern of

Write an MPS430 assembly language subroutine, SEQ, to examine the contents of register R5. If, at any position in R5, there is a pattern of two occurrences of '01110' separated by exactly 2 unknown bits, the subroutine will save the pattern in R5. If the pattern is not found, R5 is cleared. Make sure you preserve all registers you used, except R5.

Step by Step Solution

3.38 Rating (167 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!