view blobstat/main.c @ 301:5f9932613f99

dsample-fw-disasm: finished l1_drive and its l1dmacro calls
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 05 Oct 2019 19:21:06 +0000
parents ff2a6433687f
children
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>

main(argc, argv)
	char **argv;
{
	if (argc != 3) {
		fprintf(stderr, "usage: %s class-file map-file\n", argv[0]);
		exit(1);
	}
	read_class_file(argv[1]);
	process_map_file(argv[2]);
	print_output();
	exit(0);
}