1,554
edits
m (Fixed wiki syntax typos) |
m (→=Dispatch addresses: -- Fix formatting) |
||
Line 65: | Line 65: | ||
Relative addresses are signed values. | Relative addresses are signed values. | ||
===Dispatch addresses== | ===Dispatch addresses=== | ||
The <tt>callb</tt> and <tt>calle</tt> instructions take a so-called dispatch index as a parameter. This index is used to look up an actual script address, using the so-called dispatch table. The dispatch table is located in script block type 7 in the script file. It is a series of words - the first one, as in so many other places in the script file, is the number of entries. | The <tt>callb</tt> and <tt>calle</tt> instructions take a so-called dispatch index as a parameter. This index is used to look up an actual script address, using the so-called dispatch table. The dispatch table is located in script block type 7 in the script file. It is a series of words - the first one, as in so many other places in the script file, is the number of entries. | ||