benilla-re systems structs docs

___add_12

function · crt · primitive

Address
0x411070 · 94 bytes, up to 0x4110cd
Signature
void __cdecl (Ld12Real *x, Ld12Real *y)
Meaning
Adds a 12-byte real to another as a 96-bit integer, dropping the carry out
Confidence
verified, proof one
Finding
crt/decimal#the-12-byte-real
Test
crt::crt_i10_output_difftest

Finding: The 12-byte real in crt: decimal digits

Three helpers work on the 96 bits of a 12-byte real as one integer, the low word first: 0x411070 adds two of them, the carry out of the top dword dropped; 0x4110ce shifts left by one and 0x4110fc right by one, a zero coming in. ___addl adds two dwords into a third and returns the carry.

The derivation is in the doc.

Callers 2

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.