flat assembler
Message board for the users of flat assembler.
Index
> Linux > Linked subroutine doesn't work as expected |
Author |
|
Turbo Lover 21 Apr 2013, 11:26
the problem is in the uprint routine.
|
|||
21 Apr 2013, 11:26 |
|
aaditmshah 21 Apr 2013, 15:30
Turbo Lover wrote: the problem is in the uprint routine. I can't seem to find where the problem lies in the uprint routine. Would you help me to isolate it, please? |
|||
21 Apr 2013, 15:30 |
|
aaditmshah 21 Apr 2013, 16:09
I found the problem. In my uprint routine I'm executing `test eax, 0` which always sets the zero flag. Hence only the first digit is processed. I need to use either `test eax, eax` or `cmp eax, 0` instead.
|
|||
21 Apr 2013, 16:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.