Related articles |
---|
[8 earlier articles] |
Re: Writing Assembler! cef@geodesic.com (Charles Fiterman) (1997-05-22) |
Re: Writing Assembler! mark@omnifest.uwm.edu (1997-05-25) |
Re: Writing Assembler! rick@tip.nl (1997-05-25) |
Re: Writing Assembler! jukkaj@ping.at (JUKKA) (1997-06-09) |
Re: Writing Assembler! mark@omnifest.uwm.edu (1997-06-09) |
Re: Writing Assembler! mark@omnifest.uwm.edu (1997-06-09) |
Re: Writing Assembler! landon@netcom.com (1997-06-11) |
Re: Writing Assembler! cliffc@risc.sps.mot.com (Cliff Click) (1997-06-11) |
Re: Writing Assembler! albaugh@agames.com (1997-06-13) |
Re: Writing Assembler! genew@vip.net (1997-06-13) |
Re: Writing Assembler! jhallen@world.std.com (1997-06-13) |
Re: Writing Assembler! cyber_surfer@wildcard.demon.co.uk (Cyber Surfer) (1997-06-15) |
Re: Writing Assembler! rick@tip.nl (1997-06-15) |
[2 later articles] |
From: | landon@netcom.com (Landon Dyer) |
Newsgroups: | comp.compilers |
Date: | 11 Jun 1997 00:03:05 -0400 |
Organization: | Netcom On-Line Services |
References: | 97-05-156 97-05-245 97-05-289 97-06-020 |
Keywords: | assembler, syntax |
JUKKA (jukkaj@ping.at) wrote:
: > >You can use lot of from compiler books when making the assembler
: > >scanner and parser. In assemblers you should treat also end of lines
: > >and spaces as tokens and not just skip them.
: >
: > Why that ? Spaces does not seem to mean anything for asm...
Ahem. The Stupidest Assembler Trick I Ever Saw Was One Written By
The R*** M******** Corporation For The TRS model 16 [already you are
getting the heebie-jeebies, i can tell :-) ]
In This Gobbler Of A 68k Assembler, Spaces Were Significant In
Symbols. You Had To Terminate A Symbol With TWO Spaces, Or A Tab, For
Example:
this is a valid symbol:
jmp this is a valid symbol
When I Saw This Actually Assemble, I Was Dumbstruck. I Still Stand
In Awe Of The Mind (Well, Probably A Committee) That Hatched This
Thing. I Assume That The Same Parties Later Moved On To X.500, But
That'S Just Idle (Well, Nasty) Speculation
--
landon dyer (landon@netcom.com)
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.