CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Other Programming > Assembly
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Assembly Questions and Answers for Assembly here!

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old August 29th, 2004, 07:10 AM
    Fatboy Fatboy is offline
    Member
     
    Join Date: Aug 2004
    Posts: 138
    Fatboy is on a distinguished road (10+)
    Exclamation C++ programmer wants to learn assembly

    Hey y'all! I don't know nothing about assembly, and really want to learn it! Cos it comes in handy when cracking softwares. Although I DO speak C++, I don't even know what assembly is! So if anyone could kindly offer me a link to an absolute beginner's tutorial, I would be grateful
    Reply With Quote
      #2    
    Old August 29th, 2004, 08:24 AM
    Hokutata Hokutata is offline
    Member
     
    Join Date: Aug 2004
    Location: Earth, Solar System, Milky Way
    Posts: 80
    Hokutata has a spectacular aura about (100+)Hokutata has a spectacular aura about (100+)
    Re: C++ programmer wants to learn assembly

    I am the same situation.
    Please, please! somebody can help to start?
    __________________
    Hokutata Yakubotu
    Reply With Quote
      #3    
    Old August 29th, 2004, 09:11 AM
    Bornish's Avatar
    Bornish Bornish is offline
    Senior Member
     
    Join Date: Aug 2004
    Location: Bucharest, Romania... sometimes
    Posts: 1,031
    Bornish is a splendid one to behold (750+)Bornish is a splendid one to behold (750+)Bornish is a splendid one to behold (750+)Bornish is a splendid one to behold (750+)Bornish is a splendid one to behold (750+)Bornish is a splendid one to behold (750+)Bornish is a splendid one to behold (750+)Bornish is a splendid one to behold (750+)
    Re: C++ programmer wants to learn assembly

    I've started by studying the IA32 (Intel Architecture). I would recommend to download the manuals from the following link, and do not try to write assembly before having a quite clear understanding of this documentation (it's one of the best I've seen):
    http://x86.ddj.com/intel.doc/386manuals.htm
    Next recommended step would be to write some simple inline assembly in a C++ test project (using __asm blocks), and even some complete naked functions (using __declspec(naked) declarator) before trying to build complete applications from scratch.
    Other links:
    http://www.ziplib.com/emu8086help/80...n_set.html#ROL
    http://www.itis.mn.it/linux/quarta/x86/
    http://win32assembly.online.fr/tut1.html
    http://www.intel.com/software/produc...n/cwindows.htm
    Stay out of trouble!
    __________________
    Bogdan Apostol
    ESRI Developer Network

    Compilers demystified - Function pointers in Visual Basic 6.0
    Enables the use of function pointers in VB6 and shows how to embed native code in a VB application.

    Customize your R2H
    The unofficial board dedicated to ASUS R2H UMPC owners.
    Reply With Quote
      #4    
    Old August 29th, 2004, 10:34 AM
    Hokutata Hokutata is offline
    Member
     
    Join Date: Aug 2004
    Location: Earth, Solar System, Milky Way
    Posts: 80
    Hokutata has a spectacular aura about (100+)Hokutata has a spectacular aura about (100+)
    Re: C++ programmer wants to learn assembly

    Quote:
    Originally Posted by Bornish
    I've started by studying the IA32 (Intel Architecture). I would recommend to download the manuals from the following link, and do not try to write assembly before having a quite clear understanding of this documentation (it's one of the best I've seen):
    http://x86.ddj.com/intel.doc/386manuals.htm
    Next recommended step would be to write some simple inline assembly in a C++ test project (using __asm blocks), and even some complete naked functions (using __declspec(naked) declarator) before trying to build complete applications from scratch.
    Other links:
    http://www.ziplib.com/emu8086help/80...n_set.html#ROL
    http://www.itis.mn.it/linux/quarta/x86/
    http://win32assembly.online.fr/tut1.html
    http://www.intel.com/software/produc...n/cwindows.htm
    Stay out of trouble!
    Thank you for great help!
    __________________
    Hokutata Yakubotu
    Reply With Quote
      #5    
    Old August 31st, 2004, 12:59 AM
    indiocolifa's Avatar
    indiocolifa indiocolifa is offline
    Member +
     
    Join Date: Dec 2002
    Location: La Plata, Buenos Aires
    Posts: 604
    indiocolifa is on a distinguished road (30+)
    Re: C++ programmer wants to learn assembly

    you can try Randall Hyde ART OF ASSEMBLY

    It's easy for highlevel programmers

    http://webster.cs.ucr.edu/
    __________________
    Visit my page: http://usuarios.lycos.es/hernandp and my blog... http://hernandp.blogspot.com
    Reply With Quote
      #6    
    Old August 31st, 2004, 01:59 PM
    Fatboy Fatboy is offline
    Member
     
    Join Date: Aug 2004
    Posts: 138
    Fatboy is on a distinguished road (10+)
    Hey thanks you guys! I think before I start anything, I need to know some basic, I mean basic background about assembly. For example, why it is not portable? Is it object orientated? Or procedural? Why is C++ know as higher-level language and assembly is not? What is it then, if not higher-level language?

    I really apreciate your help!!!!!
    Reply With Quote
      #7    
    Old August 31st, 2004, 04:35 PM
    indiocolifa's Avatar
    indiocolifa indiocolifa is offline
    Member +
     
    Join Date: Dec 2002
    Location: La Plata, Buenos Aires
    Posts: 604
    indiocolifa is on a distinguished road (30+)
    Re: C++ programmer wants to learn assembly

    It is not portable because programming assembly = programming for a specific microprocessor and/or architecture... x86 <> MIPS <> PPC.
    __________________
    Visit my page: http://usuarios.lycos.es/hernandp and my blog... http://hernandp.blogspot.com
    Reply With Quote
      #8    
    Old August 31st, 2004, 06:21 PM
    cmiskow cmiskow is offline
    Member
     
    Join Date: Aug 2004
    Posts: 191
    cmiskow will become famous soon enough (50+)
    Re: C++ programmer wants to learn assembly

    Assembly is low-level (as opposed to high-level) because it deals directly with the nitty-gritty details of how the computer runs a program. Pretty much the only commands available to you are memory and register access, simple math and bit shifting, comparisons and line jumps. A higher level language like C++ hides these details (for the most part) by providing simple commands to declare variables, control program flow, etc., while assembly leaves you to your own devices to implement such things.
    Reply With Quote
      #9    
    Old September 1st, 2004, 01:31 AM
    yeohhs yeohhs is offline
    Member
     
    Join Date: Dec 2003
    Posts: 45
    yeohhs will become famous soon enough (50+)
    Re: C++ programmer wants to learn assembly

    Here is the URL of another tutorial.
    http://www.drpaulcarter.com/pcasm/

    Best Regards,
    Yeoh
    --
    __________________
    http://www.yeohhs.com
    Reply With Quote
      #10    
    Old September 1st, 2004, 06:33 AM
    Fatboy Fatboy is offline
    Member
     
    Join Date: Aug 2004
    Posts: 138
    Fatboy is on a distinguished road (10+)
    Oh! Thank you verymuch people!
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Other Programming > Assembly


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 05:59 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009