News:

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

Noobz tutorials?

Started by UnseenMachine, November 09, 2010, 03:40:51 PM

Previous topic - Next topic

UnseenMachine

Hi folks, new here, but I am seasoned in qbasic/qb64, i also know a bit of c++/c# and want too have a go at this asm stuff now. I have downloaded genesys, but know very little about asm so if someone could provide links to a few simple intros please?

dedndave

there are some links in the upper right corner that have all kinds of info
the Forum Links and Website link has a link to Iczelion's Tutorials
nothing in here is simple, though   :P

welcome to the forum   :U

frktons

#2
Quote from: UnseenMachine on November 09, 2010, 03:40:51 PM
Hi folks, new here, but I am seasoned in qbasic/qb64, i also know a bit of c++/c# and want too have a go at this asm stuff now. I have downloaded genesys, but know very little about asm so if someone could provide links to a few simple intros please?

More than a tutorial I think it is better to read a book and start the big thing
the right way.
One of my preferites is:

K. Irvine, "Assembly Programming for Intel Based Computers".

Frank
Mind is like a parachute. You know what to do in order to use it :-)

UnseenMachine

QuoteThe file you are trying to access is temporarily unavailable
but thanks.

frktons

Quote from: UnseenMachine on November 09, 2010, 04:53:20 PM
QuoteThe file you are trying to access is temporarily unavailable
but thanks.

Retry later or another day.

Frank
Mind is like a parachute. You know what to do in order to use it :-)

dedndave


dedndave


frktons

Mind is like a parachute. You know what to do in order to use it :-)

frktons

Mind is like a parachute. You know what to do in order to use it :-)

jj2007

Masm32 tips, tricks and traps - two pages of dense useful tips for people coming from other languages.

UnseenMachine

I found what looks to be quite a promising one http://www.drpaulcarter.com/pcasm/

Thanks for the replies.

jj2007

The Paul Carter book looks ok, and gives a good background on the basics of assembler, but keep in mind he writes for NASM. Not much support available, and the differences to Masm are considerable. See e.g. page 25:

2 mov eax, L1  ; EAX=address of byte at L1
3 mov [L1], ah ;copy AH into byte at L1


Masm syntax:
2 mov eax, offset L1  ; EAX=address of byte at L1
3 mov L1, ah ;copy AH into byte at L1


If you plan to switch to Masm later on, it will be a nightmare.
Carter also has a strange way to treat macros.
His code examples look correct, but for example, nobody here would use the (utterly slow) loop instruction.
He does not treat Windows at all. Compare that to what you can learn from e.g. \masm32\examples\exampl01\generic\generic.asm...
My opinion: If you have enough background on basic stuff (what is a dword, what is a pointer, what are registers and flags), then Iczelion and the Masm32 examples will be the speedier choice.