[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re[2]: [OT] Coding style nazis
The "IBM System/360 Assember Coding Form" I have in front of me
(really) has 1-8 Name, 10-14 Operation, 16- Operand, -71 Comments and 73-80
Identification Sequence. No filxed column for starting comments, though we
generally used 40.
The Identification Sequence was useful if you dropped the cards, so you
could runn them through the sorter to get them back in order, but of course
this was made obsolete by the use of VDUs to edit the source on disk. We
then used it as a crude version control.
I don't know about Cobol as I only ever wrote one real Cobol program, but I
reckon I'd come quite high in the "how many computer languages have
you used" shootout :-)
Pete
*********** REPLY SEPARATOR ***********
On 09/07/2004 at 10:04 Ian D. Wlloughby wrote:
>I am one of said nutters, although I haven't sat down to code 370
>assembler for at least 10 years.
>I was talking COBOL columns, can't remember if the comment character
went
>in column 7 or the code started there.
>
>Yep 370 started in column 10 and 72 was the continuation character but
I
>am not sure the others were requirements just standards that some shops
>used.
>
>R's
>Ian
>
>
>
>
>
>From: David Buckley
>Sent: Fri 09/07/2004 08:24
>To: ukha_d@xxxxxxx
>Subject: Re: [ukha_d] [OT] Coding style nazis
>
>
>--- In ukha_d@xxxxxxx, "Ian D. Wlloughby" <ian@i...>
wrote:
>>
>> No that's wrong you forgot to start it in column 7!!!!
>
>Column 10, shirley?
>
>This looks awfully like S/360 assembler, and as I recall it (and
>this is several years ago) labels were up to 8 chars, a blank, and
>then the opcode. Columns 1, 10, 16, 40, 72 for label, opcode,
>operand, comment, and continuation char respectively..
>
>> GO LA R12,48(R10)
>> SVC 47
>> XR R15,R15
>> BR R14
>
>I still code assembler this way to this day, eg...
>
>fgcyes: mov ah,2 ; f=GetChar
> mov dx,_port ; port
> int 014h ; returns char in al
>
>
>You might like to look at the hercules-390 list here on yahoo, which
>is full of nutters running mainframe emulators on their PCs...
>
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>[Non-text portions of this message have been removed]
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
UKHA_D Main Index |
UKHA_D Thread Index |
UKHA_D Home |
Archives Home
|