ole$ ./ivm as ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s qs.bin qs.sym
iVM Assembler and VM, version 0.9
Analyzing dependencies in ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s...
Building ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s...
Binary written to: ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.sSymbols written to: qs.binole$ ll qs.*
-rw-r--r-- 1 ole staff 586B Sep 2 08:54 qs.bin
It overwrites source file with binary and writes symbols to binary file.
Sorry. I noticed this myself yesterday and fixed it in v0.11.
I thought I would get notified of reported issues, but apparently I have to set this up myself.
Doing a test assemble (OS-X v0.9):
ole$ ./ivm as ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s qs.bin qs.sym iVM Assembler and VM, version 0.9 Analyzing dependencies in ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s... Building ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s... Binary written to: ../ivm-implementations/Assembler.Tests/test_code/ex3_quick_sort.s Symbols written to: qs.bin ole$ ll qs.* -rw-r--r-- 1 ole staff 586B Sep 2 08:54 qs.bin
It overwrites source file with binary and writes symbols to binary file.