For Programmers: Free Programming Magazines  


Home > Archive > Cobol > June 2004 > Re: PERFORM code generation was Re: Is it possible to use the value









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: PERFORM code generation was Re: Is it possible to use the value
Peter Lacey

2004-06-25, 7:05 pm

"Clark F. Morris, Jr." wrote:
>
> Warren Simmons wrote:
>
> The 705 mod III had Receive Serial (set the location for the move or
> store) followed by a Transfer Store Location. The perform thus would
> store the next instruction location in the instruction address of the
> implied or explicit EXIT instruction and the EXIT instruction would
> store the next Instruction address in the EXIT Transfer Store Location
> making a branch to next instruction. The store next instruction
> location and branch of the RCA 301 worked the same way (V1
> store-address,branch address). Unfortunately, the IBM 360 did not have
> a comparable instruction or capability.


Seems to me that we did something very similar: using a S define
constant with the address of where we wanted to go back to plugged into
the address field of the unconditional branch to return: but it only
worked (as I recall) on machines with 32K or less memory.

PL
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com