Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Understanding endianness of a number

by Marshall (Canon)
on Jul 24, 2017 at 03:05 UTC ( [id://1195853]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Understanding endianness of a number
in thread Understanding endianness of a number

Well in the computer world, just about every wild scheme that you can imagine has probably been tried! Over time the variations that are actually "seen in the wild" have become fewer. For the most part, you will either see pure little endian like Intel or pure big endian like Motorola. Over time, for example "byte" has come to mean "8 bits" although historically that has not been strictly true.

update:
For example in the "famous" IBM punched card format, there are 12 bits available for each printed character. There are actually 3 Hollerith codes which were used with IBM punched cards, I only worked with IBM system 26 and IBM system 29. I never saw the predecessor to System 26 which itself was already obsolete in the 70's. Anyway each punched card could have 12 bits per character, certainly not "8 bits". This wiki article doesn't clearly explain the difference between the 3 Hollerith codes, but gives an idea Hollerith codes. If there is interest, I can dig up the official names for the 3 Hollerith codes that IBM used, but I don't think that matters here. The point here being that a single character could have been 12 bits, not 8 bits in the distant past.

More weirdness: the "zigamorph", yes that is an actual word. I think this was 12-11-0-7-8-9 multi-punch. In FORTRAN IV, this signals a comment on the same line as a statement. I never wrote code that used that, but it was a possibility.

System 29 keypunch system 29.

  • Comment on Re^5: Understanding endianness of a number

Replies are listed 'Best First'.
Re^6: Understanding endianness of a number
by RonW (Parson) on Jul 26, 2017 at 22:17 UTC
    the "zigamorph", yes that is an actual word. I think this was 12-11-0-7-8-9 multi-punch

    A co-worker of mine was a student in the late 1970s. The university he attended had a CDC Cyber 170 series super computer. He has the 22 cards of his first Cyber program (written in FORTRAN) on a wall of his cubical.

    He hadn't heard the term "zigamorph" before now, but pointed out a 12-11-0-7-8-9 multi-punch card that indicated the end of the "job control" commands, and a double 12-11-0-7-8-9 multi-punch card that indicated end-of-job. Those seem consistent with the definitions of zigamorph I found.

    (FWIW, the job control commands identified the job, ran the FORTRAN compiler, then ran the resulting executable. After the 12-11-0-7-8-9 multi-punch card was the FORTRAN source, followed by the double 12-11-0-7-8-9 multi-punch card.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1195853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-24 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found