Help in assembly language study

Click For Summary

Discussion Overview

The discussion revolves around studying Assembly language, particularly in the context of a university course where the teaching quality is perceived as inadequate. Participants are seeking resources such as online lectures, videos, and manuals to aid their understanding of Assembly language, specifically for x86 processors.

Discussion Character

  • Homework-related
  • Technical explanation

Main Points Raised

  • One participant expresses a need for online resources to study Assembly language due to dissatisfaction with their lecturer.
  • Another participant notes that Assembly language is typically taught in relation to specific hardware architectures and asks for clarification on which assembler language is being studied.
  • A different participant suggests obtaining an architecture manual that includes OPcodes and assembler mnemonics for better understanding.
  • A participant specifies they are studying Assembly language for x86 processors and mentions using C++ 2008 assembler.
  • Another participant provides detailed instructions on setting up an assembler project in Visual Studio 2008, including steps for creating a custom build step for assembly code.

Areas of Agreement / Disagreement

Participants generally agree on the need for specific resources and manuals related to the hardware architecture being studied, but there is no consensus on the best approach or resources available.

Contextual Notes

The discussion does not resolve the effectiveness of the suggested resources or methods, and there may be assumptions regarding familiarity with software tools and concepts that are not explicitly stated.

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 a lot
 
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 a lot

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 language 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.
 

Similar threads

Replies
16
Views
4K
  • · Replies 14 ·
Replies
14
Views
5K
Replies
60
Views
18K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
10
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
1K