view @ 989:d70000fdff0b

Implemented IR and undefined bits of info word for address error exception frames
author Michael Pavone <>
date Wed, 27 Apr 2016 21:39:17 -0700
parents f7ff02eeec2f
line wrap: on
line source
#!/usr/bin/env python
from glob import glob
import subprocess
from sys import exit

sources = set()
for path in glob('generated_tests/*/*.s68'):

bins = set()
for path in glob('generated_tests/*/*.bin'):

for path in sources:
	binpath = path.replace('.s68', '.bin')
	if not binpath in bins:
		print binpath
		res =['vasmm68k_mot', '-Fbin', '-m68000', '-no-opt', '-spaces', '-o', binpath, path])
		if res != 0:
			print 'vasmm68k_mot returned non-zero status code', res