Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7635523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:26:53+00:00 2026-05-31T07:26:53+00:00

im playing with assembly language and gdb trying to modify a memory address: +67

  • 0

im playing with assembly language and gdb trying to modify a memory address:

+67 00058093 0f84e8000000 je 0x00058181

id like to change the second byte that reads 84 to 85 so that the instruction becomes jne. Then i do the following in gdb after breaking on code:

set {char}0x00058094=85

but i get the following “andnps %xmm0,%xmm5” instead of jne:

(gdb)disas
0x00058093 <-[SWBConditionalImplementations checkRegistration:preferences:callbacks:]+67>:  andnps %xmm0,%xmm5

Thanks for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:26:55+00:00Added an answer on May 31, 2026 at 7:26 am

    Your problem is that you are passing a decimal value, not a hex one, you should use set {char}0x00058094=0x85 or set {char}0x00058094=133 to do what you wanted, alternatively set *((char*)0x00058094) = 0x85 would also work.

    disassembly makes this a little clearer:

    0F55E8                             ANDNPS XMM5,XMM0
    

    vs.

    0F85 E8000000                      JNZ 004010F1
    

    85 is 0x55, which is why you get the SIMD instruction and no the JNE you wanted.

    (I’m a bit disappointed that I didn’t notice that sooner…)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying my hand at working with threads at an assembly language level. I'd
I am learning High Level Assembly Language at the moment, and am playing with
I'm trying to use a .NET assembly from VB6 via interop without placing it
Playing with jquery for the first time, and I'm trying to get a simple
Just playing around with the now released Silverlight 2.0. I'm trying to put a
While playing around with regexps in Scala I wrote something like this: scala> val
I'm playing around with WebMatrix and I'd just like to explore some of the
I'm currently playing with ARM assembly on Linux as a learning exercise. I'm using
I'm currently playing around with the pre and post build events in VS2010, trying
I was playing around with assembly, compiling to .com files using NASM on Windows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.