×
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

New to Assembly

New to Assembly

New to Assembly

(OP)
Please suggest some good books on Assembly. Since Assembly is platform specific though it gives an immense amount of power can there be cross-platform compatabilities ? Can anyone get me some good details about assembly ? I want to self-learn.

RE: New to Assembly

(OP)
Is there any basic difference between writing assembly using C++ Assembler and any other.
Is Peter Abbel's book on assembly good to start with ?
Do I need to have a deep knowledge of hardware to start assembly ?

RE: New to Assembly

Hello,
There is no 'C++ assembler', you are confusing languages, you are probably refering to 'inline assembly' which lets you use assembly intertwined in C++.
There is no basic difference with assemblers, if they are for the same processors, although the syntax can be different.
Also, with assembly language it matters what operating-system you write for, much more so then what assembler you use.
I don't know Peter Abbel's book, I believe a good book is one that you can understand and learn from so that if you read something else somewhere you can understand it still.
A lot of knowledge of hardware is not always needed, it depends on what you want to do. A good course or book would provide you with all the knowledge you need to succeed in it. However, as with loads of things in life, the more you know, the easier things can get

Wouter Dijkslag
 
http://www.wody.demon.nl
 

RE: New to Assembly

Hey ,
      DOnt take peter abbel.. Its not for beginners,
altho he may claim so..
 I think u can study a book on assemblers..( Leyland Beck's
system software book.) and then get on to PeterNorton.
Else
     Take "Art of assembly" => Thats the most fantastic
i had ever seen


Do not rejoice that ur code works.
it might be a special case of an error

RE: New to Assembly

Hey,
   If you want something related to architecture try Daniel Tabak. Or if you want something only on assembly try some cracking sites like phrozencrew, crackstore etc... Read documention given with assemblers. You can try nasm documentations.
Regards
Ekanth

RE: New to Assembly

(OP)
Is Art of Assembly Lang. Prog. available at webster
a good one ? They have their own library as well as
language syntax. What is NASM ?

RE: New to Assembly

Hello,

Yes, art of assembly language is a good book, but books are personal. Some people can't understand one book but can read others. I never used the 32-bit version myself, since I believe it doesn't teach assembly language at all, but rather programming. The 16 bit is better, but this is my personal opinion, YMMV.

NASM is Netwide Assembler, from http://nasm.octium.net or http://nasm.2y.net (leads to same place)

Wouter Dijkslag
 
http://www.wody.demon.nl
 

RE: New to Assembly

hello!

i don't know how to display the sum of two numbers, say decimal numbers, properly on the screen.

i am new to this language, so please help me.

thank you very much.

jas112801

RE: New to Assembly

Do some research on binary to string conversions, this forum has a 'search' feature .

"Information has a tendency to be free.  Which means someone will always tell you something you don't want to know."

RE: New to Assembly

If you've got in-line assembly in your C++ compiler, that is a really good way to learn, because you can learn piecewise: you can do anything you don't know yet in C, and do the bits you want in assembler. For most people that's probably as far as they'll ever go in assembler anyway, because it's a bit slower to write than a high level language: you probably only want to put into assembler things where you need complete control over what's going on, or where you think you need, and can get, a significant increase in speed. Example: in a run-jump platform type game you need to draw things on the screen very fast, but they are often of known sizes arranged in a grid. It could just be that you can produce a faster picture drawer than anything in your libraries etc., not because you are a better programmer, but because you know exactly what you want to do, and don't have to write general code that will work on all sizes of picture...

RE: New to Assembly

try to decide which processor you want to program for.  I started with the Intel 8051.  I've also tampered with a few MIPS processors.

RE: New to Assembly

thanks:

can  u  help  me  to  write aproceduer  in  assembly  to  read  numbers up 4 hexadecimal digits note that the no may  contain less than 4 hexadecimal digits  use the return keyv as termination  char  for  entering the  no


alitiger17@HOTMAIL.COM

RE: New to Assembly

I have added some new tutorials to my site www.GoDevTool.com which may help

Jeremy Gordon

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