flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Calculator BUG - SYMBDUMP.INC

Author
Thread Post new topic Reply to topic
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
Image

Code:
; SYMBDUMP.INC

      setup_dump_header:
        xor     eax,eax           ; MOVNTQ EAX, 0
        mov     ecx,38h shr 2     ; This is just $0E AKA 14 Wink
        rep     stos dword [edi]  ; !!! CRASH HERE !!!
        mov     ebx,edi
        mov     dword [ebx-38h],'fas'+1Ah shl 24
        mov     dword [ebx-38h+4],VERSION_MAJOR + VERSION_MINOR shl 8 + 38h shl 16
        mov     dword [ebx-38h+10h],38h
        ret

prepare_preprocessed_source:
        mov     esi,[memory_start]
        mov     ebp,[source_start]
        test    ebp,ebp
        jnz     prepare_preprocessed_line
        mov     ebp,[current_line]
        inc     ebp
    


The debug stuff brewing not getting properly disabled when using the calculator ?

Typed [1] [SPACE] [S] BOOM Shocked

Reproductibility in not ALWAYS - needs memory polluted by some other app Sad
Post 08 Mar 2011, 03:30
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.