The Instantiate entry is called by the Channel Handler? when a voice is added to the sound system.
On entry, the following registers are defined:
Register | Contents |
---|---|
R0 | Channel number |
On return to the Channel Handler:
Register | Contents |
---|---|
R0 | Preserved if the Instantiation succeeded |
R1-R4 | Preserved |
R5 | May be corrupted |
R6-R12 | Preserved |
To return to the Channel Handler use LDR PC,[R13],#4