... #define LEFT_MOUSE_PRESS 0xff01 #define RIGHT_MOUSE_PRESS 0xff02 #define LEFT_MOUSE_REL 0xff11 #define RIGHT_MOUSE_REL 0xff12 #define MOUSE_MOVE 0xff00 #define MS_GET_STATUS #define MS_GET_MOVE 11 ... 4.2.Các hàm Mouse: extern bool Msmoved(); Kiểm tra xem chuột có di chuyển không extern void Msmove(word x, word y); Di chuyển chuột đến vị trí(x,y) extern void Ms_shape(word x); extern void mouse(word ... Hiếu Nhơn II.Cơ sở lý thuyết: Các phần tử logic AND,OR,NOT,XOR,NAND,NOR.Các cổng logic hoạt động theo bảng gọi bảng chân lí(True Table).Tong ứng với cổng logic ta có bảng chân lí sau: 1.Cổng AND:...