Jump to content

Glossary: Difference between revisions

m
Added <code> tags for label names in the disassembly.
m (fixed spelling)
m (Added <code> tags for label names in the disassembly.)
 
Line 41:
 
;{{Anchor|Jump table}}'''Jump table'''
:A table of addresses pointing to assembly code (typically entry points of functions). A relatively well-known example of a jump table is <code>[https://github.com/pret/pokered/blob/725b86ebbec23bd1f53fd60bf0201c904fee951d/engine/items/items.asm#L18 ItemUsePtrTable]</code> in Generation I. An invalid index into a jump table will usually cause glitches, possibly [[arbitrary code execution]] exploits.
<!--
;{{Anchor|Machine code}}'''Machine code'''
Cookies help us deliver our services. By using our services, you agree to our use of cookies.