BRETRN - return from B function.

Usage:

bretrn [<transfer_type>]

Examples:

bretrn
bretrn tze

Where:

<transfer_type>
is any transfer opcode. When <transfer_type> is supplied, the function will only terminate if the condition is satisfied. If it is not supplied (the normal case) a TSX0 is used.

Description:

BRETRN is the normal method of ending a B function. If a value is to be returned it should be in the Q register.

Approximate equivalent code generated:

*      bretrn
       tsx0    .retrn
*      bretrn  tze
       tze     .retrn

See Also:

expl b bmac advnce
for normal function entry.

Copyright © 1996, Thinkage Ltd.