《操作系统》的实验代码。
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.
 
 
 
 
 

9 lines
169 B

all:toy
toy.o: toy.S
as -o toy.o toy.S
toy: toy.o
ld --oformat binary -N -e start -Ttext 0x7c00 -o toy toy.o
run: toy
qemu-system-i386 -fda toy
clean:
rm toy.o toy