Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Assembly Programing?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="osxuser" data-source="post: 81541"><p>If your teacher is teaching you assembler in MS windows then you are looking for a x86 assembler, assembler is an instruction set for a particular processor. Every processor has it's own instruction set, however pentium CPUs share roughly the same instruction set with AMD CPUs because they both have the same x86 architecture. So, you can write programmes on a PC with Intel Pentium 4 for example, in MS Windows and they will also work for AMD CPUs. NB though, Assembler is a low-level language ('low' doesn't mean it's bad) unlike Java. Java is a high level language. What happens when you compile programmes on Java, C++ or C is that they get translated into Assembler (instruction set) for a particular CPU and then LINKER creates an executable file (*.exe for example). When you compile programmes on Assembler as I noticed aboove Assembler is an instruction set for a CPU, they don't have to be translated into Assembler, so the linker creates executable file straight away. MASM won't ran on VPC because VPC doesn't emulate every instruction of the intel or AMD CPU. </p><p></p><p>Since you have MASM you don't need to look for a linker or compiler cause MASM includes them all. If you wan't to use MASM on mac than you should try another emulator called BOCHS, it emulates almost every instruction. Check out win32assembly.online.fr for more info about asm.</p></blockquote><p></p>
[QUOTE="osxuser, post: 81541"] If your teacher is teaching you assembler in MS windows then you are looking for a x86 assembler, assembler is an instruction set for a particular processor. Every processor has it's own instruction set, however pentium CPUs share roughly the same instruction set with AMD CPUs because they both have the same x86 architecture. So, you can write programmes on a PC with Intel Pentium 4 for example, in MS Windows and they will also work for AMD CPUs. NB though, Assembler is a low-level language ('low' doesn't mean it's bad) unlike Java. Java is a high level language. What happens when you compile programmes on Java, C++ or C is that they get translated into Assembler (instruction set) for a particular CPU and then LINKER creates an executable file (*.exe for example). When you compile programmes on Assembler as I noticed aboove Assembler is an instruction set for a CPU, they don't have to be translated into Assembler, so the linker creates executable file straight away. MASM won't ran on VPC because VPC doesn't emulate every instruction of the intel or AMD CPU. Since you have MASM you don't need to look for a linker or compiler cause MASM includes them all. If you wan't to use MASM on mac than you should try another emulator called BOCHS, it emulates almost every instruction. Check out win32assembly.online.fr for more info about asm. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Assembly Programing?
Top