Assembly (x86-64 and ARM64)
How Atracode compiles Assembly (x86-64 and ARM64), what it is verified against, and what it refuses.
- Style
- Low-level
- Verified against
- Native execution
- Published results
- Per release, in the changelog
What is supported
Registers, flags, memory and calling conventions for x86-64 and ARM64, each instruction lowered to its exact effect.
Each instruction lowered to its exact effect on registers and memory.
How it is verified
Every Assembly (x86-64 and ARM64) program is compiled twice, once by Atracode and once by Native execution. Both builds run over the same large set of inputs and must agree bit for bit in output and memory before the compile succeeds. See verification for how the sweep works.
$ atracode compile main.src
verified raven:3f1c… (illustrative)What gets refused
Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.