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.

6 line
184 B

  1. bcc -S main.c
  2. echo -e "jmp _main\n$(cat main.s)" > main.s
  3. sed -i '/.globl ___mkargv/d' ./main.s
  4. sed -i '/.globl _environ/d' ./main.s
  5. sed -i '/.data/d' ./main.s
  6. as86 -b disk.out main.s