Source/Packages

Runtime.NativeWordArithmetic

packages/execution/src/Runtime/NativeWordArithmetic.alpha

90 lines3 declarations3.5 KiBSHA-256 1d4ba35e47f7

def · lines 12–62

nativeCheckedWordAddAssembly

Full file
System V: RDI destination, RSI left, RDX right. Unsigned addition returns zero and stores the sum, or one on overflow without touching destination. No pointer or counter is truncated to a signed immediate. The carry branch must precede the store: recovery and frame versions cannot wrap into reuse.

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.