News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

ASM Comprehension...

Started by threeam, August 20, 2007, 09:18:42 PM

Previous topic - Next topic

threeam

is there a good primary source for learning 32 bit assembly. and i don't want to just know what a register is for then be given tons of code to look at,  i'd like to see a conceptual approach to assembly programming written out as a tutorial so i can comprehend the actions taking in order to solve a typical problem in programming with the language. i'd like to actually understand how to think ahead in the language to know what steps to take in solving problems. how to know what registers to use and when and why.

i have plenty of c/c++ experience, so i understand programming concepts, so from this background what can i read to help me translate the concepts i understand to assembly concepts.

Draakie

http://website.masm32.com/       ---> see Tuts / tutorials
http://www.masm32.com/board/index.php?topic=5880.0  ---> some arb thing I wrote

Also see Forum introduction..... :bdg

Draakie
Does this code make me look bloated ? (wink)

hutch--

Hi threeam,

Welcome on board. You will find that the subject material does not easily resolve down to the abstract you have in mind, it really does require some hardware knowledge and that comes in concept terms from the manufacturers manuals direct from Intel. Your C++ background should give you basic programming architecture, what you will need to do is learn enough about how you do things to get code written in assembler (IE registers, memory, addressing etc ...) then apply that knowledge to the architecture you are familiar with from C/C++ (C being closer than C++).

With practice you will better understand the interaction between how much assembler coding you understand and how flexible your architecture will be and your view on architecture will change as you learn more assembler coding (capacity changes architecture). It involves a lot of work but it is a fascinating journey that will make you older but wiser and you will know far more about what you are writing in not only assembler but in higher level languages.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

NightWare

Quote from: hutch-- on August 21, 2007, 09:19:15 AM
you will know far more about what you are writing in not only assembler but in higher level languages.

lol, you also need to prepare coffee and biscuit (you'll need it)...

u

Quote from: NightWare on August 21, 2007, 11:19:00 PM
lol, you also need to prepare coffee and biscuit (you'll need it)...
Doesn't one need to do that anyway, being a programmer  :lol  "Programmers' job is to convert coffee to code"
Please use a smaller graphic in your signature.