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. The Lounge
  3. Need an online reference for 8086 assembler

Need an online reference for 8086 assembler

Scheduled Pinned Locked Moved The Lounge
algorithmstutorialquestion
30 Posts 13 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.
  • A Andreas Mertens

    I need to do some very low-level coding in assembler. I used to do a lot of this, but just need a bit of a refresher in syntax. Does anyone have a decent link for this? I've been searching, and I can find the opcodes/symbols, but without the syntax. For example, what exactly is the LES format entered? Even the Intel site doesn't seem to cover these "ancient technologies" anymore... :doh:

    N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #8

    Wow, is this a paid gig? Who is still using 8086 chipsets?

    Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

    C M 2 Replies Last reply
    0
    • B BryanFazekas

      You piqued my curiosity -- what are you doing that requires 8086 assembler?

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #9

      Same here, I'm curious too now.

      Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

      1 Reply Last reply
      0
      • G g_p_l

        Does this help? http://www.gabrielececchetti.it/Teaching/CalcolatoriElettronici/Docs/i8086_instruction_set.pdf

        G Offline
        G Offline
        Gary Wheeler
        wrote on last edited by
        #10

        That is awesome. Even though I haven't done assembly language programming since I had to write an OS/2 device driver a lot of years ago, that's a cool thing to have. Thanks!

        Software Zen: delete this;

        1 Reply Last reply
        0
        • M Member 9167057

          I still have a book on x86 assembly coding under DOS (so it covers the DOS ABI and Tandi graphics as well as assembly itself). This thing is so thick, I'm using it as a monitor stand.

          D Offline
          D Offline
          DRHuff
          wrote on last edited by
          #11

          Member 9167057 wrote:

          I'm using it as a monitor stand.

          Still part of the foundation of computing!

          Socialism is the Axe Body Spray of political ideologies: It never does what it claims to do, but people too young to know better keep buying it anyway. (Glenn Reynolds)

          1 Reply Last reply
          0
          • N Nish Nishant

            Wow, is this a paid gig? Who is still using 8086 chipsets?

            Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

            C Offline
            C Offline
            CodeWraith
            wrote on last edited by
            #12

            Essentially, all of us. It's still the common denominator if you don't want to make any assumptions on which platform your code is going to run.

            I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

            R 1 Reply Last reply
            0
            • A Andreas Mertens

              I need to do some very low-level coding in assembler. I used to do a lot of this, but just need a bit of a refresher in syntax. Does anyone have a decent link for this? I've been searching, and I can find the opcodes/symbols, but without the syntax. For example, what exactly is the LES format entered? Even the Intel site doesn't seem to cover these "ancient technologies" anymore... :doh:

              R Offline
              R Offline
              Rick York
              wrote on last edited by
              #13

              Do you really have to go back that far? I got by with a Pentium instruction manual about twenty years ago.

              "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

              M 1 Reply Last reply
              0
              • C CodeWraith

                Essentially, all of us. It's still the common denominator if you don't want to make any assumptions on which platform your code is going to run.

                I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                R Offline
                R Offline
                Rick York
                wrote on last edited by
                #14

                I think it's reasonable to assume there will be at least a Pentium-compatible processor these days since it's more than twenty-five years old now.

                "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                C 1 Reply Last reply
                0
                • N Nish Nishant

                  Wow, is this a paid gig? Who is still using 8086 chipsets?

                  Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

                  M Offline
                  M Offline
                  Matt McGuire
                  wrote on last edited by
                  #15

                  Tern still makes embedded controllers running 186 to 486 compatible chips. so there's still manufactures building with those chips. I worked with one of their 286 boards a couple years back, it was a lot of fun writing SPI and 2-wire code to communicate with the various other chips on the board. Haven't touched assembly in years, for now c, is good enough in what i'm doing.

                  N 1 Reply Last reply
                  0
                  • M Matt McGuire

                    Tern still makes embedded controllers running 186 to 486 compatible chips. so there's still manufactures building with those chips. I worked with one of their 286 boards a couple years back, it was a lot of fun writing SPI and 2-wire code to communicate with the various other chips on the board. Haven't touched assembly in years, for now c, is good enough in what i'm doing.

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #16

                    Yes, but 8086 is specifically 16 bit.

                    Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

                    M 1 Reply Last reply
                    0
                    • N Nish Nishant

                      Yes, but 8086 is specifically 16 bit.

                      Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

                      M Offline
                      M Offline
                      Matt McGuire
                      wrote on last edited by
                      #17

                      the 80186 is pretty much the same as the 8086, just meant for embedded applications, and ran the same instruction set. The x286 chip is also only 16bit, but getting into x386 things changed up allowing 32bit code to run, but the original x86 -16bit would still run fine.

                      D 1 Reply Last reply
                      0
                      • R Rick York

                        Do you really have to go back that far? I got by with a Pentium instruction manual about twenty years ago.

                        "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                        M Offline
                        M Offline
                        Matt McGuire
                        wrote on last edited by
                        #18

                        i still got the intel x386 processor book on my shelf, real handy when working with the x86 embedded stuff.

                        A 1 Reply Last reply
                        0
                        • B BryanFazekas

                          You piqued my curiosity -- what are you doing that requires 8086 assembler?

                          A Offline
                          A Offline
                          Andreas Mertens
                          wrote on last edited by
                          #19

                          I am working on a legacy DOS app that I hope to modernize into a Windows app, but it will be in a series of stages. In this stage, I need to write a TSR (Terminate and Stay Resident) COM application to monitor some of the activity going on in the app. I wrote similar TSR DOS apps in the mid-80's, but it has been a very long time. It took some special effort to get a DOS .COM app to compile at all with VS 2019 - no MASM (done under C++), and the Linker doesn't get some of the options that used to be available...

                          B 1 Reply Last reply
                          0
                          • A Andreas Mertens

                            I am working on a legacy DOS app that I hope to modernize into a Windows app, but it will be in a series of stages. In this stage, I need to write a TSR (Terminate and Stay Resident) COM application to monitor some of the activity going on in the app. I wrote similar TSR DOS apps in the mid-80's, but it has been a very long time. It took some special effort to get a DOS .COM app to compile at all with VS 2019 - no MASM (done under C++), and the Linker doesn't get some of the options that used to be available...

                            B Offline
                            B Offline
                            BryanFazekas
                            wrote on last edited by
                            #20

                            I figured the need had to be some type of legacy application or hardware. Good luck with the effort! BTW, a friend's organization has some specialized hardware that runs only on a 286. They have had the same PC in production since ~1990. I have no idea what they will do when the PC finally fails.

                            A 1 Reply Last reply
                            0
                            • M Matt McGuire

                              i still got the intel x386 processor book on my shelf, real handy when working with the x86 embedded stuff.

                              A Offline
                              A Offline
                              Andreas Mertens
                              wrote on last edited by
                              #21

                              I used to have all my "old" development references, but after a divorce and moving to US for a few years, a lot of things got lost in the process...

                              1 Reply Last reply
                              0
                              • B BryanFazekas

                                I figured the need had to be some type of legacy application or hardware. Good luck with the effort! BTW, a friend's organization has some specialized hardware that runs only on a 286. They have had the same PC in production since ~1990. I have no idea what they will do when the PC finally fails.

                                A Offline
                                A Offline
                                Andreas Mertens
                                wrote on last edited by
                                #22

                                That's the exact same problem the users of this application have - their old hardware (for DOS) is failing. That includes printers that handle straight ASCII output. If your friend is interested, I might be able to provide some guidance or assistance on this...

                                B 1 Reply Last reply
                                0
                                • A Andreas Mertens

                                  That's the exact same problem the users of this application have - their old hardware (for DOS) is failing. That includes printers that handle straight ASCII output. If your friend is interested, I might be able to provide some guidance or assistance on this...

                                  B Offline
                                  B Offline
                                  BryanFazekas
                                  wrote on last edited by
                                  #23

                                  Andreas Mertens wrote:

                                  If your friend is interested, I might be able to provide some guidance or assistance on this...

                                  Thanks for the offer, but my friend is not responsible for the situation nor directly involved. The responsible folks are utilizing the time-old method "lots of praying" in lieu of replacing the hardware. When it eventually fails they will be forced to buy a new solution. I suspect they are ignoring that corollary to Murphy's Law that states, "hardware failure will occur at exactly the worst possible moment".

                                  1 Reply Last reply
                                  0
                                  • A Andreas Mertens

                                    I need to do some very low-level coding in assembler. I used to do a lot of this, but just need a bit of a refresher in syntax. Does anyone have a decent link for this? I've been searching, and I can find the opcodes/symbols, but without the syntax. For example, what exactly is the LES format entered? Even the Intel site doesn't seem to cover these "ancient technologies" anymore... :doh:

                                    G Offline
                                    G Offline
                                    George Grimes
                                    wrote on last edited by
                                    #24

                                    You might be able to download what you need here: Intel Other Resources - Intel Vintage[^]

                                    1 Reply Last reply
                                    0
                                    • R Rick York

                                      I think it's reasonable to assume there will be at least a Pentium-compatible processor these days since it's more than twenty-five years old now.

                                      "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                                      C Offline
                                      C Offline
                                      CodeWraith
                                      wrote on last edited by
                                      #25

                                      I never was a fan of Intel, but are there not compatible microcontrollers?

                                      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                      R 1 Reply Last reply
                                      0
                                      • M Matt McGuire

                                        the 80186 is pretty much the same as the 8086, just meant for embedded applications, and ran the same instruction set. The x286 chip is also only 16bit, but getting into x386 things changed up allowing 32bit code to run, but the original x86 -16bit would still run fine.

                                        D Offline
                                        D Offline
                                        Dean Roddey
                                        wrote on last edited by
                                        #26

                                        The virtual DOS support in the 386 was, inadvertently, one of the worst things to ever happen. Because of that, Microsoft bailed out of OS/2, and went back to making money on DOS and started Windows 1.0 on top of DOS, and the rest is history. Without that, OS/2 would have likely stuck and we'd have a vastly more sane environment to work in today. OS/2 threw out the Win32 API and created a completely new one that was consistent, and actually designed, not excrementally grown.

                                        Explorans limites defectum

                                        R 1 Reply Last reply
                                        0
                                        • D Dean Roddey

                                          The virtual DOS support in the 386 was, inadvertently, one of the worst things to ever happen. Because of that, Microsoft bailed out of OS/2, and went back to making money on DOS and started Windows 1.0 on top of DOS, and the rest is history. Without that, OS/2 would have likely stuck and we'd have a vastly more sane environment to work in today. OS/2 threw out the Win32 API and created a completely new one that was consistent, and actually designed, not excrementally grown.

                                          Explorans limites defectum

                                          R Offline
                                          R Offline
                                          Rick York
                                          wrote on last edited by
                                          #27

                                          That's not exactly what happened. Windows 1.0 was quite a while before OS/2. A dispute over Windows 3.1 was what led to discontinuing joint development on OS/2. Microsoft took that API and developed NT with it and the end result was still very, very similar to OS/2 . In fact, the older documentation of the Win32 API would note compatibility with OS/2 for the various functions.

                                          "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                                          D 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