On Aug 16, 2014 1:12 PM, "Roe Peterson" <roeapeterson at gmail.com>
wrote:
Is there an assembler for which a
majority of available code was written for? Probably the most famous
bit of 6502 asm out there is the Apple II Prince of Persia
The mnemonics for the 6502 instruction set were pretty well known.
Of course. I'm wondering about other conventions, e.g. how to delineate
comments, the types of pseudo ops that were necessary, macros, that sort of
thing. I've only really done x86 assembly to any meaningful extent, where
for example there's "intel syntax" which is the order of operands that you
see in the data sheets, and "at&t syntax", which reverses that order. At
first some of these things were a bit different among assemblers, but
eventually most of them tried to be masm compatible...
As far as macros and such, back in the early 80s I
wrote a 6502 assembler
in C that ran on our 11/34 (unix), and used the M4
preprocessor. This was
in support of software development on Commodore 64 and superpet systems.
good show. I happen to be a c, unix, and dec pdp&vax junky, so I find your
choice to platform to be in the finest of taste. :-)