HP3000-L Archives

November 1999, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jerry Fochtman <[log in to unmask]>
Reply To:
Jerry Fochtman <[log in to unmask]>
Date:
Fri, 12 Nov 1999 07:20:07 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
At 02:00 AM 11/12/1999 -0500, Ted Ashton wrote:
>Can anyone give me information on the EDIT PB instruction?  I'm assuming it
>existed on the Series II and I know that it's octal 20470 and that you
>push onto the stack the address of a "program", a destination pointer, a
>data pointer (all word addresses, I believe) and a 0 and then
>  ASSEMBLE(CON %20470)
>
>Any guidance would be greatly appreciated.  Neither the SPL manual nor the
>software pocket guide (which claims to list the series II instruction set)
>admit to such a thing existing.  I'm needing to modify the "program".

The EDIT instruction is part of the language extension instructions that
were in the classic instruction set.  If memory serves me, this instruction
is most frequently used by COBOL, generated as a part of a MOVE verb when
the datatype is being changed because of different picture clause.

According to the instruction set manual, the low-order "0" indicates that
the program location provided at S-3 is in the PB area.  The remainder of
Chapter 4 goes on to describe all the various EDIT sub-instruction op-codes
and how they function.

Chances are all these instructions were laid in the object file by the
compiler.  Instead of trying to figure-out how to patch the series of
instructions performing the edit/move, it may be much simplier to
change the source code and re-compile.

/jf
                              _\\///_
                             (' o-o ')
___________________________ooOo_( )_OOoo____________________________________

                      Friday, November 12th

          Today in 1921 - President Harding opened the International
                          Armament Conference in Washington.

___________________________________Oooo_____________________________________
                            oooO  (    )
                           (    )  )  /
                            \  (   (_/
                             \_)

ATOM RSS1 RSS2