Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2127
| From | "Charles Richmond" <numerist@aquaporin4.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Implementing Local Labels in an Assembler |
| Date | 2012-08-30 18:15 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <k1os71$8om$1@dont-email.me> (permalink) |
Just as an exercise for myself, I am attempting to write an assembler for an old 8-bit microprocessor. The assembler will be written in C. I am at a loss to figure out how to handle local labels. My understanding is: A local label in this assembly language is one that begins with a "$" (dollar sign). Such labels only have the scope of between two non-local labels. So I can't just toss them into the symbol table with the other labels, unless there is some special processing here. Can anyone suggest how I might handle local labels, or point me to some explanation on the internet of how to do this??? -- numerist at aquaporin4 dot com
Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread
Implementing Local Labels in an Assembler "Charles Richmond" <numerist@aquaporin4.com> - 2012-08-30 18:15 -0500
Re: Implementing Local Labels in an Assembler Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-08-30 16:35 -0700
Re: Implementing Local Labels in an Assembler James Harris <james.harris.1@gmail.com> - 2012-08-31 00:07 -0700
Re: Implementing Local Labels in an Assembler "BartC" <bc@freeuk.com> - 2012-08-31 11:29 +0100
Re: Implementing Local Labels in an Assembler Nomen Nescio <nobody@dizum.com> - 2012-08-31 18:34 +0200
Re: Implementing Local Labels in an Assembler "BartC" <bc@freeuk.com> - 2012-08-31 20:30 +0100
Re: Implementing Local Labels in an Assembler Anonymous <nobody@remailer.paranoici.org> - 2012-09-02 09:10 +0000
Re: Implementing Local Labels in an Assembler "Charles Richmond" <numerist@aquaporin4.com> - 2012-08-31 14:07 -0500
Re: Implementing Local Labels in an Assembler "BartC" <bc@freeuk.com> - 2012-08-31 20:27 +0100
csiph-web