Jump to content

Welcome to 1Emulation.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account

MRS rN,CPRS parsing failure

- - - - -

  • Please log in to reply
No replies to this topic

Mighty Max

Mighty Max


  • Members
  • 23 posts
Click to view battle stats

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.

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, 12 March 2006 - 03:37 PM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users