a toot by @bd[1] reminded me that for my uxn emulator I have this overengineered setup for dispatching code based on the opcode. It all starts with this macro which mimics the table from the uxntal opcode reference[2]...
[1]: https://merveilles.town/@bd/110990685838534905
[2]: https://wiki.xxiivv.com/site/uxntal_reference.html