A device which is introduced into the intestinal tract of a living organism and which operates autonomously therein, adapted to obtain data using a sensor apparatus (such as an imaging device), and process the data using an onboard processor core. In one embodiment, the processor core comprises a RISC core with an extension instruction set, the extension instructions of which are specifically selected to optimize the data processing, as well as reducing the power consumption of an integrated circuit of which the core is part (such as by way of reducing gate count in the integrated circuit through elimination of unnecessary core functions).