Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't decode MRS.W R3, MSP (ARM-Thumb mode) #1228

Closed
don1001 opened this issue Aug 7, 2018 · 3 comments · Fixed by #1949
Closed

Can't decode MRS.W R3, MSP (ARM-Thumb mode) #1228

don1001 opened this issue Aug 7, 2018 · 3 comments · Fixed by #1949

Comments

@don1001
Copy link

don1001 commented Aug 7, 2018

Can't decode MRS.W R3, MSP (ARM-Thumb mode)

IDA:

.text:00000130 EF F3 08 83                 MRS.W   R3, MSP`

Capstone (next branch)

me@me ~ $ cstool -d thumb EFF30883
ERROR: invalid assembly code
@E3V3A
Copy link

E3V3A commented Oct 21, 2018

@don1001 @aquynh
What is needed to add it?

@don1001
Copy link
Author

don1001 commented Nov 9, 2018

@don1001 @aquynh
What is needed to add it?

I don't know, but this instruction in common in bootloader code so would be good to decode it.

@aquynh
Copy link
Collaborator

aquynh commented Mar 15, 2019

looks like CortexM mode? actually Capstone can decode this.

$ cstool cortexm "EF F3 08 83"
 0  ef f3 08 83  mrs	r3, msp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants