Results 1 to 3 of 3
  1. #1
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy

    Instruction pointer

    So apparently on 64 bit assembly, you can do something like

    Code:
    lea rax, [rip]
    and it is legal, but how come on 16 and 32 bit you can't directly do anything that has to do with the IP?

    In my entire assembly experience i've been working in 16 bit, so is there something different about 64 bit? Based off the differences that I already am aware of (different memory addressing etc etc) I still can't catch what's different

    what is different with

    Code:
    lea eax, [eip]
    ?

    I'm assuming that they added accessing the IP in 64 bit as a new feature but didn't before?
    Last edited by Auxilium; 02-25-2013 at 04:59 PM.

  2. #2
    Fovea's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    325
    Reputation
    101
    Thanks
    411
    My Mood
    Amused
    Yes, being able to reference RIP is a new feature drawn up for the 64 bit architecture.

    A new addressing form, RIP-relative (relative instruction-pointer) addressing, is implemented in 64-bit mode. An effective address is formed by adding displacement to the 64-bit RIP of the next instruction.

  3. #3
    TrollerCoaster's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    I am a fish
    Posts
    633
    Reputation
    61
    Thanks
    800
    No one can really answer that question, but you can always read/write the IP register anyway through indirect methods on 16/32 bit anyway so it's not really needed.

Similar Threads

  1. (request) tutorial on pointer finding
    By ragman1234 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 03-26-2007, 03:21 PM
  2. i need some help dealing with warrock pointers
    By shakib in forum Hack Requests
    Replies: 1
    Last Post: 02-11-2007, 12:37 PM
  3. Weapon Pointer TUTORIAL
    By Fortran in forum WarRock - International Hacks
    Replies: 120
    Last Post: 02-10-2007, 08:44 PM
  4. OMS .32 pointers
    By Doctrine in forum MapleStory Hacks, Cheats & Trainers
    Replies: 3
    Last Post: 12-28-2006, 01:31 PM
  5. Warrock Vehicle Weapon No-overheat Pointer
    By Fortran in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 12-21-2006, 12:16 AM