Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This site is truly a marvel. Without a doubt the most comprehensive, friendly and just plain useful resource of its kind..."

Geography

Where in the world do Tek-Tips members come from?

Need some reading materialHelpful Member! 

CreativeMFS (Programmer)
6 Feb 11 16:20
Hey guys, I am new to assembly, I currently use C++ and VB. I am having trouble getting started with assembly. I have been reading my processors tech manual, reading code online, and trying to program assembly using FASM. I am slowly getting it, but very slowly...

Do any of you guys know any real good resources for beginners? Or any advice?

Thank you, Mike.

p.s. sorry for the lame post.
CreativeMFS (Programmer)
6 Feb 11 16:34
Also I am having trouble understanding this

if push eax is written, does that push what is on the stack into eax?
what about pop eax?

I am just using eax to be general, Im not sure if that is a register I should be using in this example.
Helpful Member!  Prattaratt (TechnicalUser)
6 Feb 11 17:46
You can visualize a stack like one of those stacks of dishes in a cafeteria.  you load the new dishes onto the top and take them off the top.  A push copies the specified data onto the top of the stack and a pop takes it off.  You need to insure you match your pushes and pops, as you can cause program crashes if you don't.  
  As far as reading material, "The Zen of Assembly Language Knowledge" by Michael Abrash is highly recommended. Also recommended is "The Art of Assembly Language" by Randall Hyde. Both of these can be Downloaded for free from various sites. Just do a web search for those titles.
Glenn9999 (Programmer)
6 Feb 11 19:15

Quote:


if push eax is written, does that push what is on the stack into eax?

It means push what is in EAX onto the stack.

Quote:


what about pop eax?

It means put the contents of the top of the stack into EAX.  As was said, be sure that what you do matches.

Quote:


I am just using eax to be general, Im not sure if that is a register I should be using in this example.

Yes, it's good since its one of your processing registers.

Quote:


p.s. sorry for the lame post.

Nothing wrong with it.  Got to learn sometime somewhere and got to ask questions if you don't understand something.

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.

CreativeMFS (Programmer)
7 Feb 11 9:33
Thank you guys, both of you.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close