|
Message
From: Matjaz Breskvar<phoenix@o...>
Date: Thu Sep 15 11:37:57 CEST 2005
Subject: [openrisc] HI
* Satish (satish.kumar@n...) wrote: > hi, > > I have not seen any "Clear Flag" instruction on OR1200. How clear any flag > which is set due to different operations.
if you are refering to flag used for branching, than the same instruction that sets it if condition is true will clear it if condition is not true l.sfeqi r0,0 <--- sets the flag (since r0 is always 0)
l.sfeqi r0,1 <--- clears the flag (since 0 != 1)
best regards, p.
|
 |