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. Learning Assembler (64 bit)

Learning Assembler (64 bit)

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiolinuxhardwareperformance
35 Posts 15 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.
  • M Member 7790817

    You might use wsl (windows subsystem for linux). It's command line, but linux command line in Windows 10. Just install Ubuntu from Microsoft store.

    C Offline
    C Offline
    Cp Coder
    wrote on last edited by
    #20

    Thanks! :)

    1 Reply Last reply
    0
    • M maze3

      Do you have any ideas that you want to implement, or just generally learn 64 bit assembler?

      C Offline
      C Offline
      Cp Coder
      wrote on last edited by
      #21

      The main focus at the moment is just to get to know Assembler. :)

      1 Reply Last reply
      0
      • U User 10388727

        Check out

        http://asmirvine.com/
        
        C Offline
        C Offline
        Cp Coder
        wrote on last edited by
        #22

        Thanks! Kip Irvine's book is on order, thanks. :)

        1 Reply Last reply
        0
        • C Cp Coder

          Many moons ago, before I retired, for many decades, I programmed embedded devices (8 / 16 bit) in both plain C and Assembler. In the early 1980s I even programmed my first PC in Assembler. This was one of the first genuine IBM PCs that they produced in Scotland. It's processor was an Intel 8080 running at the stunning clock speed of 4.7 MHz! At the time that was considered revolutionary! Since my retirement a decade ago, I have been dabbling with C# just to keep the grey cells busy. Lord knows I have lost too many of them due to the stoopid aging process! :mad: But lately I have been looking around for another challenge. Learning 64 bit Assembler sounds interesting. Checked Amazon for not-too-expensive books on the subject, but some of the better books are for the Linux operating system. I just don't have the energy left to learn both Assembler and Linux. :sigh: Can any of you recommend any good resources covering 64 bit Assembler programming on Windows, preferably using Visual Studio? Please understand that I have done a Google search. Got plenty possibilities from Google. But I would like options that come with your personal recommendations, please. It is so much easier to pick options that your trusted friends recommend.

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

          If you are used to Visual Studio you can check out this link in Microsoft docs: MASM for x64 (ml64.exe) | Microsoft Docs And for the instructions set, the Intel documentation described in a previous reply is very helpful.

          C 1 Reply Last reply
          0
          • C Cp Coder

            Many moons ago, before I retired, for many decades, I programmed embedded devices (8 / 16 bit) in both plain C and Assembler. In the early 1980s I even programmed my first PC in Assembler. This was one of the first genuine IBM PCs that they produced in Scotland. It's processor was an Intel 8080 running at the stunning clock speed of 4.7 MHz! At the time that was considered revolutionary! Since my retirement a decade ago, I have been dabbling with C# just to keep the grey cells busy. Lord knows I have lost too many of them due to the stoopid aging process! :mad: But lately I have been looking around for another challenge. Learning 64 bit Assembler sounds interesting. Checked Amazon for not-too-expensive books on the subject, but some of the better books are for the Linux operating system. I just don't have the energy left to learn both Assembler and Linux. :sigh: Can any of you recommend any good resources covering 64 bit Assembler programming on Windows, preferably using Visual Studio? Please understand that I have done a Google search. Got plenty possibilities from Google. But I would like options that come with your personal recommendations, please. It is so much easier to pick options that your trusted friends recommend.

            S Offline
            S Offline
            Stuart Dootson
            wrote on last edited by
            #24

            I'll second the suggestion to use WSL - I do cross-platform (Linux/Windows) C++ development & use a Windows 10 laptop with a WSL Ubuntu 18.04 installation, and I wouldn't want to work any other way. I use Ubuntu bash as my main shell. I can invoke both Windows and Linux executables from that shell. I use Visual Studio Code as my editor, and can either interact with Windows tools, or Linux ones if I use the Remote-WSL extension. If you use WSL1, you're using the Windows kernel through a translation layer, while WSL2 uses a lightweight VM with a Linux kernel - oh, and you can switch between WSL1 and 2 at will... In either case, your userspace experience should be pretty much the same...

            Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

            C 1 Reply Last reply
            0
            • C Cp Coder

              Many moons ago, before I retired, for many decades, I programmed embedded devices (8 / 16 bit) in both plain C and Assembler. In the early 1980s I even programmed my first PC in Assembler. This was one of the first genuine IBM PCs that they produced in Scotland. It's processor was an Intel 8080 running at the stunning clock speed of 4.7 MHz! At the time that was considered revolutionary! Since my retirement a decade ago, I have been dabbling with C# just to keep the grey cells busy. Lord knows I have lost too many of them due to the stoopid aging process! :mad: But lately I have been looking around for another challenge. Learning 64 bit Assembler sounds interesting. Checked Amazon for not-too-expensive books on the subject, but some of the better books are for the Linux operating system. I just don't have the energy left to learn both Assembler and Linux. :sigh: Can any of you recommend any good resources covering 64 bit Assembler programming on Windows, preferably using Visual Studio? Please understand that I have done a Google search. Got plenty possibilities from Google. But I would like options that come with your personal recommendations, please. It is so much easier to pick options that your trusted friends recommend.

              Z Offline
              Z Offline
              Zuoliu Ding
              wrote on last edited by
              #25

              Try to take a look at this book "Assembly Language for x86 Processors", http://kipirvine.com/asm/ that is Windows and Visual Studio based textbook. Although it titled as x86 (32-bit) because of its history reason, it actually gives 64-bit assembly description almost at each chapter end. You also can find author's x64 libraries and practice 64-bit programming with VS. I am teaching ASM with this book for years and think it really a nice learning environment there.

              C 1 Reply Last reply
              0
              • C Cp Coder

                Many moons ago, before I retired, for many decades, I programmed embedded devices (8 / 16 bit) in both plain C and Assembler. In the early 1980s I even programmed my first PC in Assembler. This was one of the first genuine IBM PCs that they produced in Scotland. It's processor was an Intel 8080 running at the stunning clock speed of 4.7 MHz! At the time that was considered revolutionary! Since my retirement a decade ago, I have been dabbling with C# just to keep the grey cells busy. Lord knows I have lost too many of them due to the stoopid aging process! :mad: But lately I have been looking around for another challenge. Learning 64 bit Assembler sounds interesting. Checked Amazon for not-too-expensive books on the subject, but some of the better books are for the Linux operating system. I just don't have the energy left to learn both Assembler and Linux. :sigh: Can any of you recommend any good resources covering 64 bit Assembler programming on Windows, preferably using Visual Studio? Please understand that I have done a Google search. Got plenty possibilities from Google. But I would like options that come with your personal recommendations, please. It is so much easier to pick options that your trusted friends recommend.

                M Offline
                M Offline
                Member_5893260
                wrote on last edited by
                #26

                If you don't have the energy for assembly language and Linux, that's because of Linux. Throw it away. Actually, throw it away even if you decide not to learn assembly language.

                C 1 Reply Last reply
                0
                • C Cp Coder

                  Many moons ago, before I retired, for many decades, I programmed embedded devices (8 / 16 bit) in both plain C and Assembler. In the early 1980s I even programmed my first PC in Assembler. This was one of the first genuine IBM PCs that they produced in Scotland. It's processor was an Intel 8080 running at the stunning clock speed of 4.7 MHz! At the time that was considered revolutionary! Since my retirement a decade ago, I have been dabbling with C# just to keep the grey cells busy. Lord knows I have lost too many of them due to the stoopid aging process! :mad: But lately I have been looking around for another challenge. Learning 64 bit Assembler sounds interesting. Checked Amazon for not-too-expensive books on the subject, but some of the better books are for the Linux operating system. I just don't have the energy left to learn both Assembler and Linux. :sigh: Can any of you recommend any good resources covering 64 bit Assembler programming on Windows, preferably using Visual Studio? Please understand that I have done a Google search. Got plenty possibilities from Google. But I would like options that come with your personal recommendations, please. It is so much easier to pick options that your trusted friends recommend.

                  M Offline
                  M Offline
                  mwindham0
                  wrote on last edited by
                  #27

                  I liked https://www.apress.com/us/book/9781484240625

                  C 1 Reply Last reply
                  0
                  • C Cp Coder

                    Many moons ago, before I retired, for many decades, I programmed embedded devices (8 / 16 bit) in both plain C and Assembler. In the early 1980s I even programmed my first PC in Assembler. This was one of the first genuine IBM PCs that they produced in Scotland. It's processor was an Intel 8080 running at the stunning clock speed of 4.7 MHz! At the time that was considered revolutionary! Since my retirement a decade ago, I have been dabbling with C# just to keep the grey cells busy. Lord knows I have lost too many of them due to the stoopid aging process! :mad: But lately I have been looking around for another challenge. Learning 64 bit Assembler sounds interesting. Checked Amazon for not-too-expensive books on the subject, but some of the better books are for the Linux operating system. I just don't have the energy left to learn both Assembler and Linux. :sigh: Can any of you recommend any good resources covering 64 bit Assembler programming on Windows, preferably using Visual Studio? Please understand that I have done a Google search. Got plenty possibilities from Google. But I would like options that come with your personal recommendations, please. It is so much easier to pick options that your trusted friends recommend.

                    C Offline
                    C Offline
                    Cp Coder
                    wrote on last edited by
                    #28

                    Thanks to all who have replied. Much appreciated! :thumbsup:

                    1 Reply Last reply
                    0
                    • M mwindham0

                      I liked https://www.apress.com/us/book/9781484240625

                      C Offline
                      C Offline
                      Cp Coder
                      wrote on last edited by
                      #29

                      It looked promising. It arrived today! Thanks. :)

                      1 Reply Last reply
                      0
                      • M Member_5893260

                        If you don't have the energy for assembly language and Linux, that's because of Linux. Throw it away. Actually, throw it away even if you decide not to learn assembly language.

                        C Offline
                        C Offline
                        Cp Coder
                        wrote on last edited by
                        #30

                        I am going to start out with pure Windows Assembler. If I find that was a mistake, I will try Ubuntu. :)

                        1 Reply Last reply
                        0
                        • Z Zuoliu Ding

                          Try to take a look at this book "Assembly Language for x86 Processors", http://kipirvine.com/asm/ that is Windows and Visual Studio based textbook. Although it titled as x86 (32-bit) because of its history reason, it actually gives 64-bit assembly description almost at each chapter end. You also can find author's x64 libraries and practice 64-bit programming with VS. I am teaching ASM with this book for years and think it really a nice learning environment there.

                          C Offline
                          C Offline
                          Cp Coder
                          wrote on last edited by
                          #31

                          Been there. Done ordering the book. It arrives next week. Thanks! :) By the way: I see references to Kip's book all over the Internet. Very promising!

                          1 Reply Last reply
                          0
                          • S Stuart Dootson

                            I'll second the suggestion to use WSL - I do cross-platform (Linux/Windows) C++ development & use a Windows 10 laptop with a WSL Ubuntu 18.04 installation, and I wouldn't want to work any other way. I use Ubuntu bash as my main shell. I can invoke both Windows and Linux executables from that shell. I use Visual Studio Code as my editor, and can either interact with Windows tools, or Linux ones if I use the Remote-WSL extension. If you use WSL1, you're using the Windows kernel through a translation layer, while WSL2 uses a lightweight VM with a Linux kernel - oh, and you can switch between WSL1 and 2 at will... In either case, your userspace experience should be pretty much the same...

                            Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                            C Offline
                            C Offline
                            Cp Coder
                            wrote on last edited by
                            #32

                            Ugh! I will keep your suggestion on the back burner, but quite frankly, I will lie if I tell you I understood every word you wrote. Note: The problem is my comprehension, not your suggestion! :) I just have to read your posting a few more times. And: I have already downloaded the iso for Ubuntu (version 19 something). So I am ready to go the Ubuntu route if needed.

                            1 Reply Last reply
                            0
                            • B bfi67

                              If you are used to Visual Studio you can check out this link in Microsoft docs: MASM for x64 (ml64.exe) | Microsoft Docs And for the instructions set, the Intel documentation described in a previous reply is very helpful.

                              C Offline
                              C Offline
                              Cp Coder
                              wrote on last edited by
                              #33

                              Noted! Thanks! And yes: I am very familiar with VS. Have used every version from 2010 (which cost me $500!) through 2012 (another $500 :sigh: ) to 2019 CE, which is free. Thanks MS! I for one appreciate what you do for me! A free upgrade to Windows 10 on all my family's machines, and the world's premier IDE free of charge. :-D

                              1 Reply Last reply
                              0
                              • C Cp Coder

                                Many moons ago, before I retired, for many decades, I programmed embedded devices (8 / 16 bit) in both plain C and Assembler. In the early 1980s I even programmed my first PC in Assembler. This was one of the first genuine IBM PCs that they produced in Scotland. It's processor was an Intel 8080 running at the stunning clock speed of 4.7 MHz! At the time that was considered revolutionary! Since my retirement a decade ago, I have been dabbling with C# just to keep the grey cells busy. Lord knows I have lost too many of them due to the stoopid aging process! :mad: But lately I have been looking around for another challenge. Learning 64 bit Assembler sounds interesting. Checked Amazon for not-too-expensive books on the subject, but some of the better books are for the Linux operating system. I just don't have the energy left to learn both Assembler and Linux. :sigh: Can any of you recommend any good resources covering 64 bit Assembler programming on Windows, preferably using Visual Studio? Please understand that I have done a Google search. Got plenty possibilities from Google. But I would like options that come with your personal recommendations, please. It is so much easier to pick options that your trusted friends recommend.

                                U Offline
                                U Offline
                                User 3866237
                                wrote on last edited by
                                #34

                                I use Easycode (www.easycode.cat) with GoAsm

                                1 Reply Last reply
                                0
                                • C Cp Coder

                                  Many moons ago, before I retired, for many decades, I programmed embedded devices (8 / 16 bit) in both plain C and Assembler. In the early 1980s I even programmed my first PC in Assembler. This was one of the first genuine IBM PCs that they produced in Scotland. It's processor was an Intel 8080 running at the stunning clock speed of 4.7 MHz! At the time that was considered revolutionary! Since my retirement a decade ago, I have been dabbling with C# just to keep the grey cells busy. Lord knows I have lost too many of them due to the stoopid aging process! :mad: But lately I have been looking around for another challenge. Learning 64 bit Assembler sounds interesting. Checked Amazon for not-too-expensive books on the subject, but some of the better books are for the Linux operating system. I just don't have the energy left to learn both Assembler and Linux. :sigh: Can any of you recommend any good resources covering 64 bit Assembler programming on Windows, preferably using Visual Studio? Please understand that I have done a Google search. Got plenty possibilities from Google. But I would like options that come with your personal recommendations, please. It is so much easier to pick options that your trusted friends recommend.

                                  H Offline
                                  H Offline
                                  henrin
                                  wrote on last edited by
                                  #35

                                  I started a long time ago with 8048, 8080, TMS9900 and even DSP assembler. Few years ago, I was doing signal processing for telecommunications. To optimize a major function I used assembly langage with SSE instructions. My tools were : - PellesC IDE (C, assembly) - the Intel documentation That was for x86 (32-bits) ; the C code could include assembly instructions. The debugger can step through C or assembly code with access to the internal registers. For AMD64, the assembly code must be handled separately ; that is a good choice. That's my experience. Good luck !

                                  Henri

                                  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