Yes. It is multi-segmented application. It happened until *d = *d * (*str - 0x30);
But the problem is the program did call the function but the error come out when it reach (*str - '0') Pls advise. "Brian Smith" <[EMAIL PROTECTED]> wrote in message news:90083@palm-dev-forum... > > On Mon, 1 Jul 2002, quennie wrote: > > > " The program just executed an illegal/unknown machine language > > instruction. The opcode executed was 0x414D". > > Is this a multi-segmented app? > > I've seen that error when using prc-tools with a multi-segmented app when > I put a function in a certain segment (in source file A), but don't have > it declared as being in that segment in another source code file (B) that > contains a call to it. > > Maybe that's a clue as to what's happening here? A function exists in a > segment that's not the first one, but a call to it elsewhere isn't aware > of that and tries to call it in the first code segment. Boom... that's > when that error tends to occur. > > I tend to take care of that by putting the function declarations (along > with segment attributes) in header files that are included by the file > that implements a function like that and all the files that call it. > > ----------------------------------------------------------------------- > Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ > Software Developer // Gamer // Webmaster // System Administrator > "What I like about deadlines is the lovely whooshing sound they make > as they rush past." --Douglas Adams > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
