dave wrote:
> I may have to eat my words. I just looked at one of the .asm routines
> and it looked rather well documented. But then that assumes that one
> knows 360 assembler. The fortran documentation is terse. 
>   
360 assembler is fairly readable, once you know the basic format of the 
instructions.
They have register-register and register to indexed memory for computations,
and the usual conditional branch instructions.  Subroutine call/return 
is ghastly,
from the 1950's.  To call, you branch and link (BALR) typically using 
register 14 to
store the return address.  Return is BR 14, branching back through the 
register
storing the return address.  Forgetting to save R14 causes an infinite 
loop when
the outer routine has called another subroutine and then returns to  itself.

Jon



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to