flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 03 Sep 2007, 12:35
did you try to debug it? if not, download OllyDebug and learn it.
people usually aren't in moodto lookfor your bugs ![]() |
|||
![]() |
|
0.1 03 Sep 2007, 12:48
Why they are showing so much reluctance!
Have I done something wrong (violated the forum rules, hurt some one ...) ? You guys used to be way more helpful earlier! ![]() ![]() ![]() ![]() |
|||
![]() |
|
LocoDelAssembly 03 Sep 2007, 13:26
The inorder proc needs the pointer passed by value and you do that when you call it from main, however, the recursive calls does not respect the requirement and pass it by reference in the same way the recursive calls are made in insert proc (which is OK in that one).
Replace the push eax / call inorder pairs with push dword [eax] / call inorder . The bug is very simple, however I wasn't able to figure it out myself after carefully reading, I had to use OllyDbg ![]() PS: BTW, remember to remove the "jmp .return" at inorder proc. |
|||
![]() |
|
0.1 06 Oct 2007, 13:00
binary tree example that prints the tree on console
_________________ Code: o__=- ) (\ /\ |
|||||||||||
![]() |
|
0.1 08 Oct 2007, 12:34
the binary tree example in HL macros syntax
_________________ Code: o__=- ) (\ /\ |
|||||||||||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.