flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid
did you try to debug it? if not, download OllyDebug and learn it.
people usually aren't in moodto lookfor your bugs ![]() |
|||
![]() |
|
0.1
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
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
binary tree example that prints the tree on console
_________________ Code: o__=- ) (\ /\ |
|||||||||||
![]() |
|
0.1
the binary tree example in HL macros syntax
_________________ Code: o__=- ) (\ /\ |
|||||||||||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.