How function works internally

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Wojcik

    #16
    Re: How function works internally


    In article <efh6620130b@ne ws4.newsguy.com >, Chris Torek <nospam@torek.n etwrites:
    >
    For a decent smattering of assembly languages, one might learn (at
    least the rudiments of) x86, MIPS or SPARC, PowerPC, and ARM.
    [snip other good recommendations]
    When I did my undergrad work at Northeastern, the assembly classes
    were taught on VAX, which was an interesting choice because it was
    so extremely CISC. (VAX assembly, for those unfamiliar with the
    machine, has opcodes for things like "insert item into linked list".
    And it comes with an extensive macro library.)

    Working in an assembly language that includes things like formatted
    I/O and exception handling might give someone a rather rosy view of
    what assembly programming is typically like, but it was a useful look
    at what the CISC movement was aiming for.
    (I might include IBM AS/400 "MIL" above if I had any idea what was
    in it. :-) )
    Anyone who's interested can take a look at a message I posted here
    back in July:



    It has a link to the IBM docs, and discusses the three kinds of
    CALL operations (not including program activation and transfer-
    control) available in MI.

    OPM MI in particular was an odd beast; one of the CALL instructions
    lets the callee return to a location other than the one it was
    called from, for example.

    --
    Michael Wojcik michael.wojcik@ microfocus.com

    Q: What is the derivation and meaning of the name Erwin?
    A: It is English from the Anglo-Saxon and means Tariff Act of 1909.
    -- Columbus (Ohio) Citizen

    Comment

    Working...