Re: Hey, what is all this 'off topic' posting?



SioL wrote:

> "Pooh Bear" <rabbitsfriendsandrelations@xxxxxxxxxxx> wrote in message news:431A94A3.62708467@xxxxxxxxxxxxxx
> >
> > 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



.



Relevant Pages

  • Re: Static Libraries and Assembly Language
    ... The "static libraries" is one of methods to fabricate that. ... syntax, you can choose to translate it to syntax of your assembler, ... Usage of a DLL is good thing as long as this DLL is common and is used widely. ... The point was about utilizing of assembly code among different assembly ...
    (alt.lang.asm)
  • Re: Bare-Metal Programming
    ... on one of these punch cards and loading into memory where it could be ... The first assembler was met with outrage. ... that I could program not only in assembler but in machine language. ...
    (comp.programming)
  • Re: Error: suffix or operands invalid for `int
    ... I was writing a small assembly code in GAS syntax (actually learning ... from Linus' first kernel). ... b.s: Assembler messages: ... b.s:27: Error: suffix or operands invalid for `int' ...
    (comp.os.linux.development.system)
  • Re: No Inline-Assembly for x64 Builds?
    ... would think that assembly code made sense in a device driver. ... Modern device drivers don't use it. ... i have to work with external x64 Assembler and then link ...
    (microsoft.public.vc.mfc)
  • Re: mixing C and assembly
    ... "requires" at least some assembly code? ... "By handling the stack operations in hardware, the Cortex-M3 processor ... removes the need to write assembler wrappers that are required to ...
    (comp.arch.embedded)