Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


any good x86 assembly programming books?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
19 replies to this topic

#1 TITAN   Members   -  Reputation: 122

Posted 16 September 1999 - 03:17 PM

i am trying to learn x86 assembly any help would be great thanks

Sponsor:

#2 Zer   Members   -  Reputation: 122

Posted 21 August 1999 - 01:46 PM

Try www.programmersheaven.com they have a few good asm tutorials

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 21 August 1999 - 01:48 PM

thanks a lot ill check that out

#4 Sixpack   Members   -  Reputation: 122

Posted 21 August 1999 - 04:29 PM

Mastering Turbo Assembler (Tom Swan) is a great read.

Six


#5 bit   Members   -  Reputation: 122

Posted 21 August 1999 - 05:10 PM

If you want to learn for DOS then I recommend:

The Revolutionary Guide to Assembly Language and Master Class Assembly Language.Both are by Wrox Press and are damn fine works with plenty of great examples.

As far as Windows in assembly there is only one book currently out there ... Windows Assembly Language and Systems Programming by Barry Kauler. Unfortunately this is meant for Windows 3.1 not 9.X\NT platforms.

I am currently working on an outline for a Win32 ASM book. But, as of right now, the only resources are on the internet.

- Chris


#6 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 21 August 1999 - 06:03 PM

thanks for the help i only program in dos so far using djgpp i am pretty much a beginner i would like to start programming for windows but i think i should practice more in dos i found something http://webster.cs.ucr.edu/
seems helpful so far and its free so....

#7 bit   Members   -  Reputation: 122

Posted 22 August 1999 - 04:15 AM

Actually,

Writing assembly in Windows is FAR easier than anything in DOS. 80% of what you do is make calls to the API.

In DOS you have to worry about segments, and other headache causing stuff. In Windows the memory model is FLAT so you don't have those worries.

Anyway, just some thoughts. Unlike C, ASM sucks to learn on DOS and I have seen many people get discouraged by it, or start thinking that ASM is difficult. There is no valid reason for learning DOS ASM anymore now that DOS is dead. If you plan on using ASM for anything at all in the future I would suggest just learnign Win32 ASM.

Good Luck.

- Chris


#8 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 22 August 1999 - 06:31 AM

yeah ill try win32 ASM but im not a master at c right now what things do you have to worry about when writing windows programs anything i should know before trying it out

#9 bit   Members   -  Reputation: 122

Posted 22 August 1999 - 07:55 AM

Head over to this web site. It has numerous tutorials that you can check out.

Http://win32asm.ownz.com

I also have a series of articles for GamDev in the works, which are on game programming in Win32 ASM. They may be of use to you once they come out.

In the meantime check out the site and take a peek at how easy it is.

- Chris


#10 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 22 August 1999 - 10:26 AM

thanks a lot cant wait for your articles
that site is pretty good i downloaded masm32 and tried it out still learning how to use it right now but it looks nice again....thanks for all the help everyone

#11 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 22 August 1999 - 12:35 PM

what??? i am totally confused checking those tuts was my first look at windows programming you have to do so much extra stuff anyways bit do you have a web page?

#12 bit   Members   -  Reputation: 122

Posted 22 August 1999 - 01:28 PM

Yes ... I have a web site:

Http://www.fastsoftware.com

However ... when I changed over my web site I took down a few things. There is plenty of code up, but nothing for the true beginner.

It may seem like there is A LOT more stuff that you have to do, but in reality there isn't.

A basic template is provided in the masm32 package and you can build off of those examples.

Just take the time to read through Iczelion's tutorials and everything will fall into place. Start at WinMain in the examples and follow the code to see how it works. It is almost like a C program.

If you go to my site download the applications ZIP file and take a peek at my code. It is better commented and should be able to help you out if your run into any problems.

- Chris


#13 DavidRM   Members   -  Reputation: 270

Posted 23 August 1999 - 11:07 AM

Inner Loops
by Rick Booth
ISBN: 0-201-47960-5

Pentium Processor Optimization Tools
by Michael L. Schmit
ISBN: 0-12-627230-1

------------------
DavidRM
Samu Games
http://www.samugames.com


#14 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 24 August 1999 - 08:55 AM

ok im starting to understand how a windows program operates
but now i need more info on assembly a commented example creating a few variables and then setting up a loop subtracting or adding to those and displaying their current value in the window would be very helpful
its strange learning assembly AND windows programming at the same time


#15 bit   Members   -  Reputation: 122

Posted 24 August 1999 - 09:20 AM

Creating a variable is just like in DOS ASM except for when you need to create a Windows Specific Type of variable.

myVar1 dd 0 ; Creates a DWORD ( 4 BYTES ) with a vlaue of Zero == INT in C.

myVar2 RECT <> ; Creates a RECT struct. NOTE: There are no value in the parenthesis

myVar3 RECT <20,20,100,100> ; Creates a RECT with X,Y COORDS at 20,20 and 100 x 100 in size.

That is all you need to do to create a variable.

Loops are extremely easy using MASM's High level syntax.

mov eax, 0
.while eax < 10
inc eax
mov ebx, 2
add eax, ebx
.endw

I will be covering all of this in much greater detail in my article series. The first one should be up sometime next week.

It will take a few issues to get completely through all of the basics and such.

- Chris


#16 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 24 August 1999 - 09:44 AM

i never learned dos ASM but that helped some variables had me confused i could see stuff like buffer1[128]:BYTE which looks like a nice array of bytes altho when i try that i get errors ???
and then i see stuff like your examples
varname dd value
i dont think i need anymore help for a while ill mess with it until i can get it to do something thanks to all who gave me lists of books
and to bit for so much more


#17 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 24 August 1999 - 07:27 PM

Want a good asm book?

Graphics Programming Black Book.
Micheal Abrash.

asm and a whole lot more.


#18 TITAN   Members   -  Reputation: 122

Posted 24 August 1999 - 07:53 PM

well i just got the win32 api ref very helpful now maybe i can do a little better wont help me with ASM but itll sure help with the windows part so far ive changed the look of my window a little but its early in the morning and i must get some sleep so i cant play too much

------------------
TITAN
titan_ct@hotmail.com


#19 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Posted 14 September 1999 - 12:51 AM

"Assembly step by step" by duntemann is a good book if your starting from scratch and it's funny to boot.

#20 TITAN   Members   -  Reputation: 122

Posted 16 September 1999 - 03:17 PM

i thought this topic had died
but then i get back from running from floyd
and theres a reply......anyways
thanks i havent had a chance to buy any books i went back to learning some more
dos c/c++ windows scares me

------------------
TITAN
titan_ct@hotmail.com





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS