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]

About assembler parse


Hello,all:

In binutils, when i try to add new assembler language grammar for my new 
machine (ISA), i can hack the binutils source code by adding my_start_line_hook
() in tc-my.c. 

My question is that :

Where the assember to parse SPACE and LABEL that is in assembly language?

Because my_start_line_hook() is just to parse my new grammar, it cann't parse 
the SPACE and LABEL.

In the origin assember(as.c), how is it work? 

                                                         thanks a lot!!


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