Jump to content

MRS rN,CPRS parsing failure


Mighty Max

Recommended Posts

Heya,

 

there is a bug in the disassembler that parses the MRS instruction wrong.

 

The opcode 0xE10F1000 is shown as MRS r0,CPRS. obviously (bits 12..15 are selecting the target register) it is actually an MRS r1,CPRS

 

Only a displaying problem tho, as it seems to behave correct.

 

 

 

:edit:

Just found another displaying failure: If the lower 16 bit of a word is negative signed (bit 15 is set to 1) then the halfword is sign extended to the word. That results in showing FF's instead of the actual value of the higher 16 bits.

 

This appears in byte, halfword and word view.

Edited by Mighty Max
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...