Xref: utzoo comp.lang.c:12215 comp.std.c:324 Path: utzoo!attcan!uunet!mcvax!tuvie!mssx!src From: src@mssx.UUCP (Pleschutznig Andreas) Newsgroups: comp.lang.c,comp.std.c Subject: Calling functions by address Keywords: functions calling Message-ID: <679@mssx.UUCP> Date: 29 Aug 88 09:07:48 GMT Organization: Micro Systems Software, Graz Lines: 19 Suppose following: We want to write a software emulation for another processor on UNIX So the main problem is to get into the emulation routines as fast as possible, and therefore it doe not seem to be good enough to do switch (code) { case .. case .. } So we thought of doing that job by declaring the addresses of the emulation routines and jumping to the routines by address like this (*addressarray[code]); I know, I know that *does not* work, but maybe there is someone knowing to get around.