Re: Algorithms In Assembly Language



On Apr 28, 4:50 pm, "Wolfgang Kern" <nowh...@xxxxxxxx> wrote:
Brian asked:

What would an algorithm look like in assembly language?

Mmh..?
I think it will look like as in any other language, just
as a sequence of instructions, perhaps with conditional jumps
or 'cmovcc/setcc' and loops instead of  FOR/IF/WHILE/CASE...

Sure, ASM isn't that easy readable like plain text for many
'programmers'.
But it's just a matter of familiarity and experience.
__
wolfgang

Have a look at Knuth's book on programming.
There he uses an algorithmic language closely related to assembler in
order to count cyles for efficiency.

Otherwise try to find something on ALGOL, a popular 1960's algorithmic
near-fortran
.



Relevant Pages

  • Re: Algorithms In Assembly Language
    ... as a sequence of instructions, perhaps with conditional jumps ... ASM isn't that easy readable like plain text for many ...
    (alt.lang.asm)
  • Re: Evolution
    ... > inline assembler and larger parts by linking to an assembler ... in the HLL. ... language, particularly in smaller projects. ... > or two instructions if you ...
    (alt.lang.asm)
  • The Great Debate
    ... > but ASM proved to be very cumbersome and unproductive, ... He did *not* say assembly language projects ... as structured programming grew in popularity). ... the *physics* was harder than the math. ...
    (alt.lang.asm)
  • Re: C# programmer wants to learn assembly?? plz help
    ... times for experts in that language, ... The cost of learning asm, is to use from 20 to 40 diffrent instructions. ... 1000s of other libraries that makes C what it is. ... other poor exuses for assemblers thats out there. ...
    (alt.lang.asm)
  • Re: Text-to-speech
    ... > When he lost track of his braces, ... Your "Allusion to the computational instructional language Python, ... prior art, the patent application pending ... of instructions,. ...
    (comp.lang.python)