On Tue, 30 Aug 2011 01:14:45 -0700, glen herrmannsfeldt
<[email protected]> wrote:

>The book "Computer Architecture: Concepts and Evolution" by
>Blaauw and Brooks has many descriptions on how instructions got
>to be the way they did.

Thank you!  I'll order it.

Benyamin and other responders:

Thank you for all the good information.
I realize that it is a versatile instruction. For the particular
application i needed (timestamp conversion to EBCDIC following a
STCKCONV), i couldn't make it do everything i wanted, but it did
get me 95% of the way there. I used two EDITs, followed by the
aforementioned fixup logic on the first digit of the "hour" field.
I could also have rearranged the STCKCONV output and used a single
EDIT with no fixup.

The name of the instruction in the System 360 manual is "Edit".
The name of the instruction in the z/Architecture manual is "EDIT".
Its mnemonic is always ED.

>Then explain that EDIT is rarely used by COBOL or Fortran
>for print conversions, and that it is best that it should
>be left out of instruction sets.
>
>If you like asking questions like that, especially for a variety
>of different machines, you should get the book.
>
>-- glen

Justin

Reply via email to