Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,456 of 4,675    |
|    R.Wieser to All    |
|    Re: a variable definition is causing an     |
|    18 Jul 18 14:53:01    |
      From: address@nospicedham.not.available              Bill,              > cmd_findfl db 'findfl',0       >       > is commented out the problem goes away.              Have you already tried what happens when you just comment *that* line out       (and leave the ones following it enabled) ? My guess is that the       same/similar problem will occur              js2nd dw 0x9e0 ;segment at end of jsec2       ...       mov word[si+6],js2nd ;segment - where to load sectors              My assembler complains about that: you cannot do a direct memory-to-memory       copy that way (needs to go thru a register). Your assembler might be using       the address of js2nd (and not its contents), which would mean that you are       loading a sector over all the variables that follow (including the drive       letter).              Did you maybe intended to use "equ" (or something like it) there (like       "js2nd equ 0x9e0" or "js2nd = 0x9e0") ?              Another possibility is that you are somehow trashing the stack.       Could your stackpointer be pointing into the same area where you are loading       your sector ?              Regards,       Rudy Wieser              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca