GunnerInc's Profile User Rating: *****

Reputation: 907 Master
Active Posts:
2,488 (1.5 per day)
28-March 11
Profile Views:
Last Active:
User is offline Yesterday, 12:48 PM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:
Expert In:

Latest Visitors

Icon   GunnerInc Please don't bother PM'ing me for help!! Post your questions in the correct forum for all to benifit from!!!

Posts I've Made

  1. In Topic: need proper operands for assembly code

    Posted 17 Jul 2015

    Please help with what, modifying someone else's program? Sure looks like code from a decompiled exe, and we won't help with that.

    Closing this thread, any questions PM me.
  2. In Topic: The edx seem to be concatenating everything

    Posted 2 Jul 2015

    NUL terminating the string will definitely fix the problem, since the functions read the string until it hits a 0. The OP is linking against the Irvine library which is a wrapper around the Win32 API, not DOS interrupts.
  3. In Topic: The edx seem to be concatenating everything

    Posted 27 Jun 2015

    Why do you think that is? Look at each string carefully, how do string printing functions know when to stop printing the string? By looking for a 0, that is why they are called NUL terminated strings. What are you missing at the end of each of your strings? WriteString prints the string intro, and since you are missing the NUL terminator, it keeps printing everything after that until it hits a 0
  4. In Topic: Developing a new software

    Posted 19 Jun 2015

    Please don't open duplicate threads.

    Closing this.

    Please don't open duplicate threads.

    Closing this.
  5. In Topic: My first program

    Posted 13 Jun 2015


    cant get it to display

    Where are you displaying anything? Irvine has a few display routines:
    DumpRegs displays all of the registers in Hex.
    WriteBin displays a 32 bit integer to the console window in binary format
    WriteDec displays an unsigned 32 bit integer to the console window.
    WriteHex displays a 32 bit hex number to the console window
    WriteInt displays a signed 32 bit number to the console window.

    You could use any one of those routines to display the final result.


    or calculate correct

    If you cannot get it to display, how to you know it is not calculating correctly?
    Why do you have sub commented out? Your code is correct, you just need to print it out an learn to ADD COMMENTS!!!!

    Let's clean up your code and add comments and a call to display the results:
    main PROC    
        ; A = (A + B ) - (C + D)
    	mov     eax, 10     ; A
    	mov     ebx, 10     ; B
    	mov     ecx, 5      ; C
    	mov     edx, 5      ; D
    	add     eax, ebx    ; (A + B )  eax == sum
    	add     ecx, edx    ; (C + D)   ecx == sum
        sub     eax, ecx    ; (A + B ) - (C + D) eax == result
    	call    WriteDec    ; display results
        call    Crlf        ; add CR and Line Feed to console
        call    WaitMsg     ; wait for keypress
    	push    0
    	call    ExitProcess
    main endp
    end main

My Information

Member Title:
"Hurry up and wait"
41 years old
June 30, 1974
In my head
Forum Leader:
Full Name:
Years Programming:
Programming Languages:
x86 Win32 Assembly (MASM, FASM, NASM)

Contact Information

Click here to e-mail me
Website URL:
Website URL


Page 1 of 1
  1. Photo

    BenignDesign Icon

    06 May 2013 - 06:44
    How goes things, sunshine?
  2. Photo

    BenignDesign Icon

    02 Nov 2012 - 20:34
  3. Photo

    codeprada Icon

    25 Jun 2012 - 07:11
    Congratz on Mod status. Seems like I'm really late to this party. Better late than never right. =D
  4. Photo

    GunnerInc Icon

    26 May 2012 - 18:21
    Thanks No2, it was totally unexpected! Honored really!
  5. Photo

    no2pencil Icon

    26 May 2012 - 18:12
    Welcome to the team!
  6. Photo

    DimitriV Icon

    20 Nov 2011 - 19:22
    Good on you man, you are a DIC ++. That's skilled.
  7. Photo

    ishkabible Icon

    17 Oct 2011 - 13:33
    congratz!! if you get 15 rep this month(only 5 away!!) you can also get the assembly award!
  8. Photo

    Gungnir Icon

    17 Oct 2011 - 06:42
    Congratulations on becoming an expert!!
  9. Photo

    ishkabible Icon

    12 Oct 2011 - 18:36
    hey, i was about tell you how good a job you were doing then i saw i already had :P
  10. Photo

    GunnerInc Icon

    08 Oct 2011 - 08:04
    HeHe, thanks!
  11. Photo

    ishkabible Icon

    07 Oct 2011 - 21:05
    keep up the awesome work in the assembly forums! you're really doing an awesome job!
Page 1 of 1