Add inline assembly code for table lookups