R13 register

Discussion in 'Windows 64bit' started by Varun Bansal, Oct 1, 2007.

  1. Varun Bansal

    Varun Bansal Guest

    Hi,

    One of my application written for x64 calls an API xyz which returns an
    error invalid parameter. Debugging the disassembly shows that the API checks
    the value of R13 register which is 0 and hence it returns invalid parameter.
    Does anyone know what R13 register is used for?

    Thanks,
    Varun
     
    Varun Bansal, Oct 1, 2007
    #1
    1. Advertising

  2. Varun Bansal

    Varun Bansal Guest

    I found the solution. Thanks!

    "Varun Bansal" <> wrote in message
    news:%...
    > Hi,
    >
    > One of my application written for x64 calls an API xyz which returns an
    > error invalid parameter. Debugging the disassembly shows that the API
    > checks the value of R13 register which is 0 and hence it returns invalid
    > parameter. Does anyone know what R13 register is used for?
    >
    > Thanks,
    > Varun
    >
     
    Varun Bansal, Oct 1, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brad Hill
    Replies:
    3
    Views:
    592
  2. Ryan Goolevitch

    Re: System flash and config-register

    Ryan Goolevitch, Oct 15, 2003, in forum: Cisco
    Replies:
    0
    Views:
    486
    Ryan Goolevitch
    Oct 15, 2003
  3. Brian Bergin
    Replies:
    1
    Views:
    11,330
  4. Steve

    Config register in 3725

    Steve, Dec 18, 2003, in forum: Cisco
    Replies:
    0
    Views:
    1,242
    Steve
    Dec 18, 2003
  5. R Siffredi

    Config-register values

    R Siffredi, Feb 6, 2004, in forum: Cisco
    Replies:
    2
    Views:
    7,315
    Joe Rankin
    Feb 7, 2004
Loading...

Share This Page