def read_symfile(path='baserom.sym'):
	"""
	Return a list of dicts of label data from an rgbds .sym file.
	"""
	symbols = []
	for line in open(path):
		line = line.strip().split(';')[0]
		if line:
			bank_address, label = line.split(' ')[:2]
			bank, address = bank_address.split(':')
			symbols += [{
				'label': label,
				'bank': int(bank, 16),
				'address': int(address, 16),
			}]
	return symbols