Skip to content
Guest Big Announcement

ARMConverter produces wrong hex code for thumb

Featured Replies

When converting the hex code of a branch instruction ( 0x40 0xF0 0x62 0x81 ) with ARMConverter it calculates the right instruction and address, using offset 0x12cbe8:

  https://armconverter.com/?disasm&code=40+F0+62+81&offset=0x12cbe8

Resulting for thumb in:

  bne.w 0x12ceb0

However when entering the result of this calculation again in ARMConverter

  https://armconverter.com/?code=bne.w+%230x12ceb0&offset=0x12cbe8

to do the reverse and get the hex code, again with the same offset 0x12cbe8 the result is not the expected

  0x40 0xF0 0x62 0x81

But

  0x6C 0xF4 0x58 0x87

Does someone knows why this happens?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.