aRe: SWITCH question

new topic     » goto parent     » topic index » view thread      » older message » newer message
Ekhnat0n said...

The reason is that both routines use different methods for it, and they start being UNEQUAL in the truncated part.

To clarify:

The switch statements which fail do not fail because they can't match the value, they fail because they crash.

Each test has an else... clause where any unequal value would land. It never gets that far.

The crash happens when thread() is called by the function do_exec(). thread() is defined as:

#define thread() goto *((void *)*pc)

See post 55.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu