1. Tuyển Mod quản lý diễn đàn. Các thành viên xem chi tiết tại đây

Cứu Mạng!!! (về vấn đề học assembly language)

Chủ đề trong 'Hỏi đáp Tin học' bởi Subasa_Ozora_new, 11/05/2003.

  1. 0 người đang xem box này (Thành viên: 0, Khách: 0)
  1. Subasa_Ozora_new

    Subasa_Ozora_new Thành viên quen thuộc

    Tham gia ngày:
    08/02/2002
    Bài viết:
    840
    Đã được thích:
    0
    Cứu Mạng!!! (về vấn đề học assembly language)

    Các bác hãy giúp giùm Su, Su đang làm 1 cái program bằng assembly language. Nhưng...không biết bắt đầu từ đâu. Các bác có thể giúp Su làm được không?

    Program đó là:
    Program Description:
    Write a program that will put two overlapping windows on the screen. Only one window at a time will be active at any time (the window that the user is allowed to type in). The <F3> key will be used to move between windows. The <Esc> key will be used to exit the program.

    Design Criteria:
    Use a structure for the windows (call it wndw). The fields should be the required parameters of FNC6, INT 10h. Once the structure is defined, declare variables ?~win1?T and ?~win2?T of type wndw.
    Name the procedure used to draw the windows create_win. It should receive only one parameter on the stack: the OFFSET (address) of either ?~win1?T or ?~win2?T create_win will use this address as an index into the particular structure. Obviously, ?~win1?T and ?~win2?T need to set up before calling create_win.
    The program will need two buffers for storing the windows when they are inactive. The buffers will have to be the size of the respective window.

    Testing:
    Start the program in window 1. Tye in three lines of letters and then hit <F3>. Program should have saved window 1 to its buffer and painted window 2 on top of the screen.
    Type in three lines of numbers in window 2. Toggle back and forth between the windows to ensure that they are restored properly and that there has been no intermingling.

    Sau khi làm xong, ngoài việc bầu 5 sao, Su xin hậu tạ sau.
    Các bạn có thể send qua address: ooskywingsoo@yahoo.com
    Hay là post thẳng ở đây cũng được.
    Su, cám ơn trước.

    Được anhminhk42 sửa chữa / chuyển vào 09:34 ngày 11/05/2003
  2. Subasa_Ozora_new

    Subasa_Ozora_new Thành viên quen thuộc

    Tham gia ngày:
    08/02/2002
    Bài viết:
    840
    Đã được thích:
    0
    Sao không ai giúp Su hết vậy :(
  3. anhminhk42

    anhminhk42 Thành viên rất tích cực

    Tham gia ngày:
    01/04/2002
    Bài viết:
    2.671
    Đã được thích:
    1
    Bạn nên dịch ra tiếng Việt đi không thì chúng mình cũng bó tay!

    Không biết Kí.LÀm Sao kí đây

Chia sẻ trang này