Overlays Used With ADSP-218x DSPs
call SUB;
mr=0;
dmovlay = 4;
mx0 = DM(FOUR); // read value of memory mapped variable
dmovlay = 5;
my0 = dm(FIVE); // read value of memory mapped
pmovlay = 5;
call MULT;
DONE:
idle;
jump DONE;
D-24
// Call the SUB function that lives
// in internal PM overlay #0
// Clear out the MR register,
// we'll need it later
// jump to internal dm overlay region #4
// that lives in internal DM
// overlay region #4 into mx0
// jump to internal DM overlay region #5
// variable that lives in internal DM
// overlay region #5 into my0
// jump to int. PM overlay memory region #5
// Call the MULT function that resides
// in internal PM overlay #5
// wait here until an interrupt occurs
// jump back to "idle" instruction after
// returning from interrupt subroutine
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?