This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I make tc-cpu.c/h file?Help!!!


Hi, 

Thanks for your tip, and I understand the meaning of md_begin(), md_assemble(). 

But I can't find the functions, parse_insn() and parse_operand(). 

Where are this functions? (My target cpu is similar to 'mips', and also tc-arm.c hasn't that functions...) 

Thanks 
Inn-Seok, Lee

----- Original Message ----- 
From: "Vineet Sharma, Noida" <vineets@noida.hcltech.com>
To: "JongHee Youn[???]" <jhyoun@compiler.snu.ac.kr>; <binutils@sources.redhat.com>
Sent: Tuesday, December 09, 2003 7:46 PM
Subject: RE: How can I make tc-cpu.c/h file?Help!!!


> Hi,
>    Just copy one of the target that matchs your arcitecture, and start by
> include/opcode/FOO.h and then move to tc-cpu.c with functions md_begin(),
> md_assemble(),parse_insn(), parse_operand() in the same order, you woud
> start getting the idea .
> 
> 
> Thanks
> Vineet
> 
> -----Original Message-----
> From: jhyoun@compiler.snu.ac.kr [mailto:jhyoun@compiler.snu.ac.kr]
> Sent: Tuesday, December 09, 2003 4:08 PM
> To: binutils@sources.redhat.com
> Subject: How can I make tc-cpu.c/h file?Help!!!
> 
> 
> Hi, 
> 
> My work is to make tc-cpu.c, tc-cpu.h file and this is necessary to porting
> GAS(We are under making new cpu now). This files are in
> binutils/gas/config/... 
> 
> I can't find tips about making this files...and also there are not
> similarity among this files(eg, mips, arm, ...) 
> (Only what I know is that 'internal.texi' describes this.) 
> 
> How can I make this files? (I want to know the algorithm of that files) 
> 
> 
> Thanks, 
> Inn-Seok, Lee
> 
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]