Object Code Accelerator Manual
OCA Syntax and Option Summary
Object Code Accelerator Manual—528144-003
5-5
Determining TNS Register Usage
comment is defined as any string introduced by two dashed (--) and is terminated
by the end of a line.
•
OCA does not recognize the TACL line continuation mark &.
Determining TNS Register Usage
The RETURNSRn option tells OCA which TNS registers are used for implicitly passing
parameters from the named procedure.
RETURNSRn
where the value of n is one of each TNS data register that could be implicitly
passing parameters from the named procedure. Values for RETURNSR are:
RETURNSR1, RETURNSR2, RETURNSR3, RETURNSR4, RETURNSR5,
RETURNSR6, or RETURNSR7.
proc-name
is a procedure name. Procedure names are case sensitive so specify a procedure
name using the exact spelling and case as it appears in the Binder region of the
object file. OCA error message display the exact spelling and case for a procedure.
Correcting a Function’s Return Values Size
The RETURNVALSIZE option corrects the misdirected value of RP so that program
execution remains in accelerated mode.
proc-name
is a procedure name. Procedure names are case-sensitive so specify a procedure
name using the exact spelling and case as it appears in the Binder region of the
object file. OCA error message display the exact spelling and case for a procedure.
num-bytes
is the named number of 16-bit words in the return value.
Diagnosing and Managing Register or Condition Code
Inheritance
In TAL programs you can use the USE, STACK, and CODE statements to write
procedures that implicitly pass parameters in the TNS register stack. HP does not
recommend this practice. If your programs do pass parameters in TNS registers, you
oca [/ run-options/] input-file, RETURNSRn proc-name
oca [/ run-options/] input-file, RETURNVALSIZE proc-name num-
bytes