Skip to main content

KERNEL_PROC_CALL_LABEL

Constant KERNEL_PROC_CALL_LABEL 

Source
pub const KERNEL_PROC_CALL_LABEL: Felt;
Expand description

Specifies a kernel procedure call operation to access a procedure in the kernel ROM.

The label is constructed as follows:

  • Chiplet selector: [1, 1, 1, 1, 0]
  • s_first value: 0
  • Combined selector: [1, 1, 1, 1, 0 | 0]
  • Reverse bits and add 1 to get final label value: [0 | 0, 1, 1, 1, 1] + 1 = 16