Like Archangel mentioned above, you should also try the LOOKUP command. This command takes only a few cycles to execute.