LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Matjaz Breskvar<phoenix@o...>
    Date: Thu Sep 15 11:37:57 CEST 2005
    Subject: [openrisc] HI
    Top
    * 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.

    ReferenceAuthor
    [openrisc] HISatish

    Follow upAuthor
    [openrisc] HISatish

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.