flat assembler
Message board for the users of flat assembler.
Index
> Windows > not compiling correctly |
Author |
|
revolution 11 Apr 2008, 22:42
I compile it have don't see and ebx reference in the disassembly.
Ollydbg 1.10d Code: 00401000 > B8 0A000000 MOV EAX,0A 00401005 6BC0 20 IMUL EAX,EAX,20 00401008 A3 00404000 MOV [404000],EAX 0040100D A1 00404000 MOV EAX,[404000] 00401012 68 03000000 PUSH 3 00401017 8F80 18204000 POP [DWORD EAX+402018] ; kernel32.7C816FD7 0040101D BB 03000000 MOV EBX,3 00401022 83FB 02 CMP EBX,2 00401025 75 0C JNZ SHORT junk.00401033 00401027 C780 1C204000 0>MOV [DWORD EAX+40201C],1 00401031 EB 0A JMP SHORT junk.0040103D 00401033 C780 1C204000 0>MOV [DWORD EAX+40201C],0 Maybe your disassembler is buggy? |
|||
11 Apr 2008, 22:42 |
|
oobie-noobie 11 Apr 2008, 22:53
sigh,
I think you may just be right revolution, I tried a few other permutations of the above, some have eax, others ebx. Extremely hard to debug with a buggy debugger, lol. If I can't locate what the bug I have is, I'll post more code later. I'll have to give ollyDebug a go, I'm currently using W32Dasm and have never come across this problem before. Thanks for your help |
|||
11 Apr 2008, 22:53 |
|
Remy Vincent 11 Apr 2008, 23:00
Quote:
With my debugger opening the same kind of OpCodes, I find [EAX+...], as it is seen just above! then FASM has COMPILED CORRECTLY the very powerfull 32 memory access ==> mov dword [my_array+eax+MY_INFO.data11], TRUE That's why i am currently programming an ASM INTERPRETOR, so you could modify yourself the ASM INTERPRETOR, and the make interpretation be exactly as the "microprocessor" matching with your needs... But I don't know if intel will distribute your own version of the opcodes... |
|||
11 Apr 2008, 23:00 |
|
madmatt 12 Apr 2008, 13:43
oobie-noobie wrote: sigh, Hi oobie-noobie , There also is another disassembler similar to olly debug (in my opinion better in many respects) called IDApro. They have just released Version 49 as freeware and can disassemble EXE, DLL, ETC. with upto sse2 instruction decoding. Here's the link: http://www.hex-rays.com/idapro/idadownfreeware.htm |
|||
12 Apr 2008, 13:43 |
|
AlexP 12 Apr 2008, 15:55
Isn't "IDApro" bloated cow software? I've used it, and it's very useful. I just don't go for large software packages.
|
|||
12 Apr 2008, 15:55 |
|
vid 12 Apr 2008, 17:01
IDA Pro is very good, maybe not as good as debugger, but definitive #1 for disasming
|
|||
12 Apr 2008, 17:01 |
|
madmatt 13 Apr 2008, 12:22
AlexP wrote: Isn't "IDApro" bloated cow software? I've used it, and it's very useful. I just don't go for large software packages. Naaa. For all that it does, It's size is about what I'd expect it to be. |
|||
13 Apr 2008, 12:22 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.