Syntax
.split proc_name
Description
The proc_name value refers to the procedure name of the associated mainline procedure. The proc_name value must have been the subject of a previous .ent directive. The .split directive differs from the .aent directive in that it is part of the referenced procedure. The segment defined by the .split directive does not need to be adjacent to the procedure referenced by proc_name.
For example:
.globl fubar
.ent fubar
fubar:
lda $sp, -16($sp)
stq $26, 0($sp)
.prologue
br around
.end fubar # end of initial main procedure
along:
.long x
< more data - possibly even another procedure>
.split fubar # Continuation of fubar procedure
around:
ldq $26, 0($sp)
lda $sp, 16($sp)
ret
.end fubar #end of fubar procedure