Ngày tải lên :
23/05/2014, 18:56
... Quản lý nhớ Tổng quan 1.1 Ví dụ Ví dụ 1: Tạo chương trình thực thi dùng ngôn ngữ máy #include char buf[19]={ 0xEB, 0x0 8, 0x4 8, 0x6 5, 0x6 C, 0x6 C, 0x6 F, 0x2 1, 0x2 4, 0x9 0, 0xB4, 0x0 9,0xBA, 0x0 2, 0x0 1,0xCD, 0x2 1,0xCD, 0x2 0}; ... trình x lý toto project int y=10; [y←10] M1.c extern int x, y; extern void toto(); int main(){ toto() printf() } main.c int x; extern int y; toto() M2.c 13 / 92 M1.o Compiler (tcc -c) x y toto ... main.c int x; extern int y; toto() M2.c 13 / 92 [y←10] [x] [y←10] M1.c extern int x, y; extern void toto(); int main(){ toto() printf() } M1.o Compiler (tcc -c) x y toto printf main.o [x] y [toto]...