zcc +svi -lm -create-app program.c
This will create a .CAS file. Once compiled, run the SVI emulator and load the “tape” with the /r option.
If you are using the Jimmy MÃ¥rdell’s "SVI" emulator, you can specify the autoload option: svi -tapa adv.cas