Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2127
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Charles Richmond" <numerist@aquaporin4.com> |
| Newsgroups | comp.programming |
| Subject | Implementing Local Labels in an Assembler |
| Date | Thu, 30 Aug 2012 18:15:42 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 16 |
| Message-ID | <k1os71$8om$1@dont-email.me> (permalink) |
| Reply-To | "Charles Richmond" <numerist@aquaporin4.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=original |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Thu, 30 Aug 2012 23:15:45 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="27b3c87fd0c6e8374aa6a261c3afc249"; logging-data="8982"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+X5qihHhzm8ArAFgTmcQWDzshqoiNMXBk=" |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.0.6002.18463 |
| X-Newsreader | Microsoft Windows Mail 6.0.6002.18197 |
| Cancel-Lock | sha1:iaOCLknFjpM0RTAL2nUrMlc7KOM= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Xref | csiph.com comp.programming:2127 |
Show key headers only | View raw
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