Results 1 to 3 of 3

Thread: MASM and dword ptr

  1. #1
    johndoe1
    Guest

    Question MASM and dword ptr

    how can i do this in MASM ???

    cmp dword ptr [0045A3C1], 0
    jnz patch

    i need to check memory if this value is changed !!
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    Quote Originally Posted by johndoe1
    how can i do this in MASM ???

    cmp dword ptr [0045A3C1], 0
    jnz patch

    i need to check memory if this value is changed !!

    mov eax,045a3c1h

    cmp dword ptr [eax],0
    jnz patch


    is just one of many possibilities that springs to mind

  3. #3
    mmk
    Guest
    use a segment override, such as ds::
    mov dword ptr ds:[12345678h],55aa55aah
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. IDA - view value where dword ptr instruction is pointing too
    By Harakiri in forum Tools of Our Trade (TOT) Messageboard
    Replies: 11
    Last Post: August 24th, 2011, 07:49
  2. ASM dword ptr
    By galda in forum The Newbie Forum
    Replies: 5
    Last Post: January 19th, 2010, 16:54
  3. dword ptr question
    By ReVeR in forum The Newbie Forum
    Replies: 6
    Last Post: December 7th, 2004, 21:06
  4. MASM Syntax.
    By Innocent in forum The Newbie Forum
    Replies: 3
    Last Post: September 27th, 2004, 11:16
  5. MASM and MSVBVM60 imports
    By Fahr in forum Off Topic
    Replies: 25
    Last Post: April 29th, 2004, 13:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •