This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
About assembler parse
- From: libra <mr924352 at cs dot nthu dot edu dot tw>
- To: binutils at sources dot redhat dot com
- Date: Tue, 13 Jul 2004 16:05:00 +0800
- Subject: 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!!