kvisc/as/k-as.py

19 lines
405 B
Python
Raw Normal View History

2019-05-16 19:59:14 +02:00
#!/usr/bin/python3
2019-05-16 20:09:20 +02:00
# The OS/K Team licenses this file to you under the MIT license.
# See the LICENSE file in the project root for more information.
2019-05-16 21:42:23 +02:00
import sys
2019-05-16 19:59:14 +02:00
2019-05-16 21:42:23 +02:00
if __name__ == '__main__':
if len(sys.argv) != 3:
print("Usage: {} input.asm output.bin".format(sys.argv[0]))
sys.exit(1)
fi = open(sys.argv[1], "r")
out = open(sys.argv[2], "wb")
out.close()
fi.close()
2019-05-16 19:59:14 +02:00