Help in assembly language study

AI Thread Summary
The discussion centers around a student seeking resources to learn Assembly language due to inadequate teaching from their university lecturer. The student specifically mentions studying Assembly for x86 processors using C++ 2008. Forum members emphasize the importance of understanding the specific hardware architecture associated with Assembly language. They recommend obtaining an architecture manual that details OPcodes and assembler mnemonics, which is crucial for mastering the language. Additionally, guidance is provided on setting up a project in Visual Studio 2008 for assembly programming, including steps for creating a custom build for assembly source files and enabling debugging features. Overall, the conversation highlights the need for structured resources and practical setup advice for effective learning in Assembly language.
Sumaya
Messages
29
Reaction score
0
hi
i wish everyone in good health

this semester I am studying Assembly language ..

and our lecturer in my university is not good at teaching ..

so i hope some one helps me to online ppt lectures or videos or any website .. that i can study assembly language step by step ...

thanx alot
 
Technology news on Phys.org
Hi Sumaya. Normally assembly language is taught in relation to some particular hardware architecture. In essence, learning about low level computer architecture and assembly language usually go hand in hand.

Do you have specific assembler language that you're learning?
 
Sumaya said:
hi
i wish everyone in good health

this semester I am studying Assembly language ..

and our lecturer in my university is not good at teaching ..

so i hope some one helps me to online ppt lectures or videos or any website .. that i can study assembly language step by step ...

thanx alot

Hey Sumaya and welcome to the forums.

As uart pointed out, the assembler language is dependent on the hardware platform you are using.

If you know the platform, it might be a good idea to get an architecture manual of some sort that goes through all of the OPcodes (the binary representation) and the assembler mnemonic (think XOR for an exclusive or command).

A good manual will have everything from the complete syntax definition to a complete description of the memory model and the processing model which may or may not include things like software and hardware interrupts.

You should get everything you need from a decent well organized official architecture manual for your platform.
 
i am studing Assembly Langauge for x86 Processors 6th edition - Kip Irvine
and I'll use c++ 2008 assembler
thanx for all
 
Sumaya said:
I'll use c++ 2008 assembler.
Assuming you mean Visual Studio 2008, if you want to create an assembler project, you'll probably need to create a "custom" build step for the assembly code. Start by creating an "empty' win 32 dos console project, then go to project options and "add existing item" to include your assembly source file (like example.asm). Then right click on the source file name under project and choose custom build step. For debug mode for a source file called example.asm would look like:

command line:

ml /c /Zi /Fo$(outdir)\example.obj example.asm

output:

$(outdir)\example.obj

For the release mode, the command line is the same except you remove the /Zi.

Once you've done this, you'll be able to build and debug assembly programs in the same manner as C programs. When debugging, you'll want to enable the debug view registers window.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top