Too Long; Didn't Read
Cairo is a practically-efficient Turing-complete STARK-friendly CPU architecture.
In this article, we introduce the CPU architecture of Cairo in terms of instruction structure and state transition, and provide some examples of instruction.
Instruction Structure
The word natively supported by Cairo CPU is a field element, where the field is some fixed finite field of characteristic P>2^63.
Each instruction will occupy 1 or 2 words. If an immediate value([ap] = “12345678”)follows the instruction, the instruction will occupy 2 words, and the value will be stored in the second word.