SQ in silver chrome letters, a lab's gear stacked against the S: a rack, two oscilloscopes, pizza boxes and a six-pack. Strange Query Lab

CARDIAC › rust-cardiac › Message codes › RCE0032

RCE0032error

Too big for CARDIAC's memory.

error[RCE0032]: {n} cells, more than CARDIAC's memory holds (96, cells 03 to 98)
error[RCE0032]: program runs past cell 98

The program, or one of its phases, needs more cells than CARDIAC has.

CARDIAC has 100 cells. Cells 00 to 02 and 99 belong to the machine and the loader, which leaves 96 for the program's code and data.

Make it smaller, or split it into phases: overlay() in main where it can be cut, or auto-overlay on to have the compiler cut it. Things that cost many cells are listed in the rust-cardiac manual (docs/manual.md) (multiplying or dividing two variables, the bit routines, overflow checks); cargo cardiac build -v says where the cells go.

[package.metadata.cardiac]
auto-overlay = true

In a terminal: cargo cardiac help RCE0032.