1. A portable handheld device comprising: an image sensor for capturing an image; an orientation sensor for determining a rotation of the image sensor; and a system-on-chip processor having integrated on a common wafer a CPU for processing a script language, a multi-core processor for processing an image captured by the image sensor, and a common synchronization register, wherein the multi-core processor includes multiple processing units connected in parallel by a crossbar switch, each processing unit stores one or more synchronization bits for identifying which of the other processing units are functioning as a single process therewith, and the common synchronization register contains therein synchronization bits from each of the processing units.