Re: IBM PC Assembler grammar is wanted!!!

"John Lindsay" <lindsay-j@rmc.ca>
20 Mar 1998 01:23:55 -0500

          From comp.compilers

Related articles
IBM PC Assembler grammar is wanted!!! sd50020@lanet.lv (Denis) (1998-03-18)
Re: IBM PC Assembler grammar is wanted!!! lindsay-j@rmc.ca (John Lindsay) (1998-03-20)
Re: IBM PC Assembler grammar is wanted!!! jhallen@world.std.com (1998-03-20)
| List of all articles for this month |

From: "John Lindsay" <lindsay-j@rmc.ca>
Newsgroups: comp.compilers
Date: 20 Mar 1998 01:23:55 -0500
Organization: Royal Military College of Canada
References: 98-03-156
Keywords: parse, assembler

Denis wrote:
>
> Hi there!
>
> I need IBM PC Assembler YACC grammar as well as lexical analizer.


Me too. The problem here is that there is a huge divergence between
the syntax, command-line switches and in-line directives, defaults,
concepts implemented and linker/(os object code) structures supported
in all the PC assemblers. There's a hot thread in alt.lang.asm and
comp.lang.asm.x86 about this sort of thing.


I know of the folowing:
MASM (several versions)
TASM (several versions)
A86
NASM
ALP (OS/2 32-bit only).
There's almost certainly more; can anyone add to this list ?


On a separate shelf, there's Terse (an asm preprocessor that allows
some more natural/HLL-style things and works with at least most of the
above). And there are no doubt, a small number of separate
macro-preprocessors (lists anyone ?).


I have no idea whether it would be possible to write a syntax to
represent more than one of these; it would be a nightmare to try to
write one semantic description of any more than one of them.
--
John H. Lindsay lindsay_j@rmc.ca
Department of Mathematics and Computer Science
ROYAL MILITARY COLLEGE OF CANADA
P O BOX 17000 STN FORCES
KINGSTON ON K7K 7B4 CANADA


Phone: (613) 541-6000--1--6419
Fax: (613) 541-6584
--


Post a followup to this message

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