SioL wrote:
> "Pooh Bear" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> >
> > John Larkin wrote:
> >> I've been grinding out assembly code all week. There's nothing much to
> >> say about that.
> >
> > Might I ask why you're using assembler and what the CPU is ?
> >
> > When there's a reasonably priced high level language alternative I really
> > don't see the point of using assembler.
> >
> > Graham
>
> Here we go, another C versus ASM war.
Not at all. I'm no fan of C. I was actually offered a job coding in C back in 1984 - it was a publishing
application - long before Adobe got into that stuff - maybe long before Adobe even existed ! It was an inhouse
piece of software that took files from WordStar typically ! ;-)
I took one look at C code and syntax and 'ran away' - lol !
To this day I reckon that C / C+ / C++ is deliberately obscure so to as to impress the PHBs.
> I use AVR a lot and Atmel is forcing me into using C,
> all new ANs are using C.
>
> Than again, the bootloader in C is writing all over the SRAM
> section of atmega screwing up my cunning memory backup
> plan in process, even when it just checks the pin and jumps to
> the reset vector. 
>
> With asm you always know what to expect, with C its a guessing
> game.
I like 8051s and their variants. I use PL/M 51. It's a lovely language to use but sadly Intel abandoned it. As
easy as Basic to understand but with the ability to talk to registers ( and indeed any other hardware you like
) directly if you need to. Not to mention some damn useful commands that are assembler-like such as ROL.
PL/M code is never obscure. It's quite the reverse.
And then there's the PL/M compiler's skill in using available free RAM to its best wrt to lifetime dependent
variables. I doubt any asm coder could match that !
Graham