comparison python/zcc.py @ 238:90637d1bbfad

Added test sequence 2
author Windel Bouwman
date Sat, 20 Jul 2013 13:18:04 +0200
parents 81752b0f85a5
children 63bb40758066
comparison
equal deleted inserted replaced
237:81752b0f85a5 238:90637d1bbfad
40 40
41 if args.dumpir: 41 if args.dumpir:
42 outs.dump() 42 outs.dump()
43 43
44 code_bytes = outs.sections['code'].to_bytes() 44 code_bytes = outs.sections['code'].to_bytes()
45 print('bytes:', code_bytes) 45 #print('bytes:', code_bytes)
46 if args.output: 46 if args.output:
47 output_filename = args.output 47 output_filename = args.output
48 else: 48 else:
49 output_filename = 'b.output' 49 output_filename = 'b.output'
50 with open(output_filename, 'wb') as f: 50 with open(output_filename, 'wb') as f: