You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
compiler_proj3/proj3/gen/bootstrap.c

13 lines
236 B

#include <stdio.h>
#include <stdlib.h>
// assembly function that we are compiling
int entry_point(char* heap);
int main() {
char* heap = malloc(10000 * 8);
printf("Exit Code: %d\n", entry_point(heap));
free(heap);
return 0;
}