Asm

This is a discussion on Asm within the A Brief History of Cprogramming.com forums, part of the Community Boards category; The thing I like about this one is it's focused on 32-bit assembly in protected mode...which is right down my ...

  1. #16
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    The thing I like about this one is it's focused on 32-bit assembly in protected mode...which is right down my alley.
    may u make it more clear for me...please
    Programming is a high logical enjoyable art for both programer and user !!

  2. #17
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    >may u make it more clear for me...please<

    What exactly can I clarify? It teaches you 32-bit protected mode assembly in contrast with the 16-bit real mode assembly AoA teaches.

  3. #18
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    whats the defference between protected mode and real mode ?
    Programming is a high logical enjoyable art for both programer and user !!

  4. #19
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    >whats the defference between protected mode and real mode ?<

    The biggest difference is that in protected mode, you can use all 4 GB of memory. You can't in real mode.

    In protected mode, you can "do away" with segments. You'll still have segments, but they will cover the entire 4 GB.

    Real mode is 16-bit. This means that you can only address 16 bits of memory at one time. 32-bit protected mode is 32-bits, meaning you can address 32 bits of memory at one time.

    Since 32-bit protected mode is 32-bits, the code that runs in 32-bit PM is 32-bits. Since the BIOS code is 16-bits, you cannot directly use BIOS interrupts in PM. There's ways around this though (slow, but they work).

  5. #20
    Registered User
    Join Date
    Jun 2002
    Posts
    151
    Or you could try something a little different.

  6. #21
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    Or you could try something a little different.
    in fact its something nice thank u man !
    Programming is a high logical enjoyable art for both programer and user !!

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gcc asm code syntax
    By Uberapa in forum C Programming
    Replies: 4
    Last Post: 06-15-2007, 01:16 AM
  2. Asm + C++
    By JaWiB in forum C++ Programming
    Replies: 17
    Last Post: 06-26-2003, 03:13 PM
  3. Understanding ASM
    By kuphryn in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 07-12-2002, 07:39 PM
  4. asm mov
    By manu in forum C++ Programming
    Replies: 1
    Last Post: 12-15-2001, 11:59 AM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21