On 3/5/2012 1:28 PM, Jon Elson wrote: > 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 > > Dave/Jon:
To quote a Roy Clark line uttered in some of his old banjo-playing gigs, "that's so good it makes my nipples hard; I know it's wrong but I'm weak." I never thought I'd ever run across the phrase "BR 14" again and reading it gave me a thrill. It's right up there with the abend codes which were so easy to trigger when coding in assembler. Seriously, though, looking through apt360-0.1.tar.gz, specifically in the orig_sources directory, I gathered the following statistics: 240 FOR modules, 40341 lines total, of which 10670 are comment (C) lines (didn't check how many lines are blank) 63 ASM modules, 13270 lines total, of which 1018 are comment (*) lines (didn't check how many lines are blank) As much fun as I'm having reliving the long nights I spent pouring over stacks of line-printer listings in the user rooms at the University of Chicago and Argonne National Lab from 1966 to 1975, I don't see myself trying to transliterate 12000 lines of IBM/360 Assembler into anything else, especially given the general state of the documentation. The original MIT work ended ca. 50 years ago; the aptos work appears to have ended only 5 years old. Have you tried to locate Brent Muller, who apparently did the latter? Regards, Kent ------------------------------------------------------------------------------ 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