10-02-25 Lab 11

Compile C code to Assembly code:

gcc -O0 -S -o switch.s switch.c

Run assembly code:

gcc -nostartfiles -no-pie hello.s -o hello
./hello