The MASM Forum Archive 2004 to 2012

Project Support Forums => GoAsm Assembler and Tools => Topic started by: Yuri on February 18, 2012, 03:47:50 PM

Title: Access violation in GoAsm
Post by: Yuri on February 18, 2012, 03:47:50 PM
The offending instruction is at 4070AFh in GoAsm 0.57 (406E98h in 0.56).

CMP BYTE PTR DS:[EDI+1],0FC

Sometimes EDI can point to the last byte of a page and the next one is not committed.
Title: Re: Access violation in GoAsm
Post by: jorgon on February 18, 2012, 09:28:54 PM
Hi Yuri

I don't have a source to test this, but I've added a bit of protective coding which should deal with this problem.
Thanks for pointing it out!

GoAsm version 0.57.0.1 available from here (http://www.godevtool.com/Goasm.zip).

Title: Re: Access violation in GoAsm
Post by: Yuri on February 19, 2012, 04:27:34 AM
Thanks, Jeremy, but that must be something else because the error persists. I was unable to reproduce it with any sample code, so I could send you the entire project, but the zip will be about 1.5 MB. Is that OK?

The thing is I want to also include Edgar's headers as I have them now in case they might differ from the latest version on his web site and that might cause the error to hide.
Title: Re: Access violation in GoAsm
Post by: jorgon on February 19, 2012, 04:51:43 AM
Yes Yuri can you send it all to the email address given in the message!

Many thanks

Title: Re: Access violation in GoAsm
Post by: Yuri on February 19, 2012, 05:13:38 AM
OK, I have just sent it.
Title: Re: Access violation in GoAsm
Post by: jorgon on February 19, 2012, 06:36:15 AM
Yuri

Thanks for sending it, this enabled me to do a bit more tweaking ..

GoAsm version 0.57.0.2 is now here (http://www.godevtool.com/Goasm.zip)

Many thanks

Title: Re: Access violation in GoAsm
Post by: Yuri on February 19, 2012, 09:10:14 AM
Yes, Jeremy, the error is gone now. Thanks! :U