|
-
Oct 23rd, 2002, 12:38 PM
#1
Thread Starter
Junior Member
how can i use (LOCK)
Hi
how are u every boudy
i tried to use the prefix ( LOCK)
but the assembler gave me this error
(instruction prefix not allowed)
how can i use this inst.
if u can
Plz. give the source code for this inst.
-
Oct 24th, 2002, 05:16 PM
#2
LOCK can only be used with these instructions:
BT, BTS, BTR, BTC mem, reg/imm
XCHG reg, mem
XCHG mem, reg
ADD, OR, ADC, SBB, AND, SUB, XOR mem, reg/imm
NOT, NEG, INC, DEC mem
and only with system privileges (that is, a windows or linux app can't use it).
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|