flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Lock

Author
Thread Post new topic Reply to topic
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 05 Jun 2004, 12:57
Fasm should not allow input such as lock mov eax, [Sequence] because the lock prefix is not allowed in such a manner... Will be nice if there is some warning error instead of my application crashing because of unknown software exception.
Post 05 Jun 2004, 12:57
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Ralph



Joined: 04 Oct 2003
Posts: 86
Ralph 17 Jun 2004, 08:36
LOCK is a prefix, and it's perfectly legal to use it infront of any instruction just like you could do REP MOV EAX,[Sequence]. I don't think fasm should report an error here. I'm sure tasm, nasm, masm, etc would, but that's why I use fasm. Warning sure, but fasm has no warnings.
Post 17 Jun 2004, 08:36
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.