Thread: Debug Assembly

Results 1 to 3 of 3
  1. #1
    Elyne1331's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Location
    01000100 01100001 01110100 01100001
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Amused

    Debug Assembly

    Started to fool around with debug on windows 7 32bit, wanted to make simple commands to add a value to a register then subtract the value by half. By using the g command it appears nothing happened?


    Attached Thumbnails Attached Thumbnails
    debug.jpg  


  2. #2
    Harava's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    114
    Reputation
    10
    Thanks
    2,989
    Quote Originally Posted by Elyne1331 View Post
    Started to fool around with debug on windows 7 32bit, wanted to make simple commands to add a value to a register then subtract the value by half. By using the g command it appears nothing happened?
    Nothing happened because you have the wrong syntax for g. If you want to start at 100 and execute to 103, its "g=100 103". "g 100 (103)" is just saying execute till 100, so nothing at all gets run.

    Here, take a look at this.


    Recent releases:
    CSPHv3.2




    Code:
    00F38C0E     B8 0610F300    MOV EAX, 00F31006
    00F38C13     C700 208CF300  MOV DWORD PTR DS:[EAX], 00F38C20
    00F38C19     EB FF          JMP SHORT 00F38C1A
    00F38C1B     90             NOP
    00F38C1C     0000           ADD BYTE PTR DS:[EAX],AL
    00F38C1E     0000           ADD BYTE PTR DS:[EAX],AL
    00F38C20     58             POP EAX
    00F38C21    ^EB EB          JMP SHORT 00F38C0E
    Can't see me calling, you hatin'?

  3. #3
    Elyne1331's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Location
    01000100 01100001 01110100 01100001
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Amused
    Thanks differently will study up and see what thing I could be able to do!
    Last edited by Elyne1331; 11-11-2014 at 10:45 AM.

Similar Threads

  1. [Assembly Tutorial] Object-oriented assembly <FASM>
    By TrollerCoaster in forum Programming Tutorials
    Replies: 3
    Last Post: 01-02-2013, 09:53 AM
  2. In What Do you Code Assembly ?
    By apezwijn in forum Assembly
    Replies: 5
    Last Post: 08-11-2008, 10:47 AM
  3. I wanne start learning Assembly plz read.!
    By Niratsio in forum Visual Basic Programming
    Replies: 14
    Last Post: 10-31-2007, 08:05 AM
  4. Converting Assembly Into Bytes
    By radnomguywfq3 in forum Visual Basic Programming
    Replies: 0
    Last Post: 09-24-2007, 04:42 PM
  5. WarRock Debug Mode!
    By voral999 in forum WarRock - International Hacks
    Replies: 14
    Last Post: 07-16-2006, 01:06 AM