问题
Although I studied a Computer Organization course in my college, I want to study Assembly (and related concepts) rigorously using this old book: The Art of Intel X86 Assembly. Do you know how to get start on Linux? Is NASM a good choice for this? If I want to incorporate UCR Standard Library in my code, do I have to compile the library first?
I want my code to run on a Linux VM (Virtual Box). Is this possible or it must be the native code of my machine?
回答1:
Finally, I found a way to overcome this issue.
I was trying various solutions, including download ReactOS to run such legacy programs. Suddenly I remembered good old Wine, and found out that Wine was originally made for 16-bit applications running under DOS and Windows 3.1. As a result, I can use all of the applications now. If a program can only be used with DOS, dosbox comes into play.
To run a Windows program, I use wine <Windows_program>
; to run a DOS program: dosbox <dos_program>
. Work great.
With JWAsm, I can use it to substitute MASM32. At this stage, I am still not sure how to link and use UCR Standard Library, but I hope that I will have a solution when encounter this issue.
来源:https://stackoverflow.com/questions/17027887/tools-for-learning-assembly-in-the-art-of-intel-x86-assembly