View previous topic :: View next topic |
Author |
Message |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Sat Oct 28, 2006 10:54 am Post subject: pass PC number to user program |
|
|
Hey,everyone
For synchronous cross memory program,How to pass 'PC number' to 'user program' except name/token,Is there any more simple and smart way?
You know 'user program' can pass parameter to PC routine via register R1,But how does the 'service provider program' pass parameter to a 'PC routine' program? |
|
Back to top |
|
 |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Mon Nov 06, 2006 9:17 am Post subject: |
|
|
Any information will be greatly appreciated! =^_^= |
|
Back to top |
|
 |
DaveyC Moderator

Joined: 02 Dec 2002 Posts: 151 Topics: 3 Location: Perth, Western Australia
|
Posted: Tue Nov 14, 2006 8:55 am Post subject: |
|
|
I don't understand your requirement. Are you asking if it is possible to substitute the PC number in a PC instruction? If so, I'm not sure if the EX instruction can do this. If not, write a macro with a branch table. _________________ Dave Crayford |
|
Back to top |
|
 |
|
|