#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2005
    Posts
    27
    Rep Power
    0

    Pascal & Assembler


    Does Pascal support embedding Assembler in a source file? Or does it support linking to separate modules written in Assembler?
  2. #2
  3. fork while true;
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    May 2005
    Location
    England, UK
    Posts
    5,538
    Rep Power
    1051
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2005
    Posts
    27
    Rep Power
    0

    Exclamation


    Is there a language feature support Assembler?

    C++ supports Assembly language routines embedded in C++ source files.

    asm(string-literal);

    This includes a piece to Assembly language where the asm() statement was placed.

    Does Pascal support such a mechanism?
  6. #4
  7. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Location
    Meriden, Connecticut
    Posts
    1,797
    Rep Power
    155
    FreePascal does.
  8. #5
  9. fork while true;
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    May 2005
    Location
    England, UK
    Posts
    5,538
    Rep Power
    1051
    Originally Posted by bjr87
    Is there a language feature support Assembler?

    C++ supports Assembly language routines embedded in C++ source files.

    asm(string-literal);

    This includes a piece to Assembly language where the asm() statement was placed.

    Does Pascal support such a mechanism?
    Like I said, it depends on the compiler. Try the one Yegg mentioned.

IMN logo majestic logo threadwatch logo seochat tools logo