Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. assembly in C code with a not so young compiler!

assembly in C code with a not so young compiler!

Scheduled Pinned Locked Moved C#
tutoriallearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    turetschek
    wrote on last edited by
    #1

    good morning from montreal, i am working with a TURBO C 2.01 compiler - with which i am still very satified - but i can't find anywhere a good article how to incorperate ASSEMBLY language with this compiler. that's really all for now. of course if someone could show me a SIMPLE code fragment, from way back when, that's really all i,d like. So thanks beforhand. allan.

    L C 2 Replies Last reply
    0
    • T turetschek

      good morning from montreal, i am working with a TURBO C 2.01 compiler - with which i am still very satified - but i can't find anywhere a good article how to incorperate ASSEMBLY language with this compiler. that's really all for now. of course if someone could show me a SIMPLE code fragment, from way back when, that's really all i,d like. So thanks beforhand. allan.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      you asked in the wrong forum. this forum is about C#, a rather recent language, quite different from good old C. I suggest you ask again in the C/C++ forum (unmanaged, no CLI), but even then don't hold your breath... :)

      Luc Pattyn [Forum Guidelines] [My Articles]


      This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


      1 Reply Last reply
      0
      • T turetschek

        good morning from montreal, i am working with a TURBO C 2.01 compiler - with which i am still very satified - but i can't find anywhere a good article how to incorperate ASSEMBLY language with this compiler. that's really all for now. of course if someone could show me a SIMPLE code fragment, from way back when, that's really all i,d like. So thanks beforhand. allan.

        C Offline
        C Offline
        ChrisKo 0
        wrote on last edited by
        #3

        It's been a really long time, but I think Borland used the following: single line: asm mov ah, 9 or a block: asm { mov ax, 1234h mov bx, ax } Hope that works. I think you can also link in your ASM files but that part of my brain has been overwritten.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups