Talk:Branch table

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Return statements in PIC code example[edit]

In the absence of call statements, those return statements look out of place. I could see goto statements that branch to a common point for resuming execution after the branches, but since the jump table relies on gotos it doesn't require returns. 198.82.9.165 (talk) 20:13, 28 June 2010 (UTC)[reply]

The way you ask this (incompletely phrased) question, makes it seem like you assume the reader can read your mind. What exactly are you talking about? Spell it out. — Preceding unsigned comment added by 82.9.176.129 (talk) 12:53, 3 September 2013 (UTC)[reply]

Jump table vs. branch table[edit]

The top of the page implies that they are the same thing, however, the section "Jump table example in C" implies that they are different ("Another simple example, this time demonstrating a jump table rather than a mere branch table"). So what is the difference? Bayle Shanks (talk) 01:55, 7 July 2015 (UTC)[reply]