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: Johan Rydberg<jrydberg@g...>
    Date: Thu May 6 11:05:49 CEST 2004
    Subject: [openrisc] inline assembly
    Top

    On Thu, 6 May 2004 whli_interqos@y... wrote:

    : I like to add some additional instructions to the openrisc. Then I may
    : need to change the complier to generate the added the instructions.
    : But It seems that very trouble. I wonder if I could use the inline
    : assembly function to add the extra instructions in to the c code. And
    : the complier will generate the corresponding assmbly code. Can the
    : compiler do it? Thank you very much.

    Yes, it is possible. But instead of adding them to the compiler (GCC),
    you add the new instructions to the assembler (GAS) in binutils.

    ~j

    ReferenceAuthor
    [openrisc] inline assemblyWhli_interqos

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