linux-mips
[Top] [All Lists]

Regarding the LL & SC instructions

To: linux-mips@linux-mips.org
Subject: Regarding the LL & SC instructions
From: karthikeyan natarajan <karthik_96cse@yahoo.com>
Date: Sun, 4 Jan 2004 09:09:22 +0000 (GMT)
In-reply-to: <Pine.LNX.4.55.0312221342180.27237@jurand.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi All,

    Seems that LL & SC instrutions operate on a 'word'
data.
    Can we use the same instructions to do a atomic
increment on a 'byte' data. If not, are there any
specific instructions to operate on a byte data?
(Like, LLD & SCD for doubleword data) or else, any 
method to achieve this using the LL & SC instr?

Thanks much,
-karthi


=====
The expert at anything was once a beginner

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

<Prev in Thread] Current Thread [Next in Thread>