×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • 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!

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

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Need some reading material

Need some reading material

Need some reading material

(OP)
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.

RE: Need some reading material

(OP)
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.

RE: Need some reading material

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.

RE: Need some reading material

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.

RE: Need some reading material

(OP)
Thank you guys, both of you.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

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! Already a Member? Login


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