Re: Writing Assembler!

genew@vip.net (Gene Wirchenko)
13 Jun 1997 22:03:39 -0400

          From comp.compilers

Related articles
[11 earlier articles]
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)
Re: Writing Assembler! csusb@csv.warwick.ac.uk (1997-06-15)
Re: Writing Assembler! cliffc@risc.sps.mot.com (Cliff Click) (1997-06-19)
| List of all articles for this month |
From: genew@vip.net (Gene Wirchenko)
Newsgroups: comp.compilers
Date: 13 Jun 1997 22:03:39 -0400
Organization: All USENET -- http://www.Supernews.com
References: 97-05-156 97-05-245 97-05-289 97-06-020 97-06-035
Keywords: assembler

landon@netcom.com (Landon Dyer) wrote:


> 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


          Stupid trick is right!


          Given a symbol that was one short of the next tab position, it
could've been interesting:
                      symbol jmp elsewhere
                      asymbol jmp elsewhere
                                    ^
The first is fine, but what is the whitespace at the caret? If it's
<tab>, it's fine, but if it's <space>, it isn't.


Sincerely,


Gene Wirchenko
[I suspect that particular assembler didn't grok tabs. -John]


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.