flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Minor flaw in fasm v1.50 |
Author |
|
Tomasz Grysztar 16 Dec 2003, 19:41
Minor flaw? I would rather call it a "serious bug" if it was true (fasm itself wouldn't work correctly after such reassembly). But all it's OK in my test, if it happened to you in some special case, please post your source.
|
|||
16 Dec 2003, 19:41 |
|
yazper 16 Dec 2003, 20:34
Ok. sorry I didnt check it thouroghly.
I use Ollydebug for ...yes well...debugging a sinusgenerator made with a 2-pole filter. Olly gives me "sbb edx,-1" when using 1.50 and "sbb edx,0" when using 1.49. Here's the source The culprit is line40 in "sinusgenerator.fasm" Dont post about the generator not working, thats why I'm debugging Plz go easy on my coding...I'm somewhat new to assembler on PC, but I've programmed lots on the Amiga using the (in my opinion) best assembler environment ever made (AsmPro). Maybe you could use some of the ideas from AsmPro? PS: I can give you screen shots of olly if you want?! -yazper
_________________ -------------------- Light speed is faster then the speed of sound - that's why ppl look smart until they talk! |
|||||||||||
16 Dec 2003, 20:34 |
|
comrade 16 Dec 2003, 20:45
Assembled just fine here. I check disassembly and its all okay. Maybe you confuse two sbb's together?
|
|||
16 Dec 2003, 20:45 |
|
Tomasz Grysztar 16 Dec 2003, 20:49
This is how that routine does look like in my OllyDbg - as you can see, the "sbb edx,0" is encoded correctly. Perhaps you have mistaken it with the instruction which is at address 4020A3h on this screen, this is "sbb edx,0ffffffffh" from your source.
|
||||||||||
16 Dec 2003, 20:49 |
|
yazper 16 Dec 2003, 20:55
Oops
I did confuse it.... i'm just making a complete arse of myself Sorry for wasting you time. -yazper _________________ -------------------- Light speed is faster then the speed of sound - that's why ppl look smart until they talk! |
|||
16 Dec 2003, 20:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.