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.
  • C Cp Coder

    I dabbled with Ubuntu many years ago (I think it was their version 11) but at that time it did not have a driver for the Soundblaster card I had in my machine, so I dumped it. Anyway, thanks for the advice! :)

    Quote:

    do dual booting

    Yes, or run it in a virtual engine?

    N Offline
    N Offline
    Nelek
    wrote on last edited by
    #13

    Cp-Coder wrote:

    Yes, or run it in a virtual engine?

    Actually most people do it the other way... Linux main OS and Windows in a VM... specially Win10

    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

    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 7790817
      wrote on last edited by
      #14

      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 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
        maze3
        wrote on last edited by
        #15

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

        C 1 Reply Last reply
        0
        • L Lost User

          There is nothing very difficult to understand with Linux. Get a copy of Ubuntu and if you don't have a spare PC, you can install it on a spare raw partition and do dual booting. I have it on my home system. BTW, like you I retired (almost) a decade ago.

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

          There are several programs that will produce a bootable flash drive using any Linux distro. I've tried a couple, although not recently, and they worked fine. Set your BIOS to boot from a stick before the internal HD, and you're set. This is nice, as anyone inclined can easily play with multiple distros. I can't recall the program I used, but found this one: How to Create Bootable Linux USB Drive | Linuxize[^]

          L C 2 Replies Last reply
          0
          • B BryanFazekas

            There are several programs that will produce a bootable flash drive using any Linux distro. I've tried a couple, although not recently, and they worked fine. Set your BIOS to boot from a stick before the internal HD, and you're set. This is nice, as anyone inclined can easily play with multiple distros. I can't recall the program I used, but found this one: How to Create Bootable Linux USB Drive | Linuxize[^]

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #17

            I don't think this message was meant for me.

            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 10388727
              wrote on last edited by
              #18

              Check out

              http://asmirvine.com/
              
              C 1 Reply Last reply
              0
              • B BryanFazekas

                There are several programs that will produce a bootable flash drive using any Linux distro. I've tried a couple, although not recently, and they worked fine. Set your BIOS to boot from a stick before the internal HD, and you're set. This is nice, as anyone inclined can easily play with multiple distros. I can't recall the program I used, but found this one: How to Create Bootable Linux USB Drive | Linuxize[^]

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

                Noted. Thanks! :)

                1 Reply Last reply
                0
                • 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
                                          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