Heyo guys, Assembly?

Discussion in 'Programming General' started by me_person666, Mar 19, 2013.

Heyo guys, Assembly?
  1. Unread #1 - Mar 19, 2013 at 5:54 PM
  2. me_person666
    Joined:
    Aug 13, 2008
    Posts:
    425
    Referrals:
    0
    Sythe Gold:
    0

    me_person666 Forum Addict

    Heyo guys, Assembly?

    Hey,
    So in a couple weeks i start my first programming course. We are doing micro controllers and we are learning something called assembly...

    So first things first, what exactly is assembly? I know its machine code... or something... but other than that i don't know...
    do you guys suggest any readings for me so i can try to get a head start?

    I'm a network tech student. I know cisco IOS.... i know thats not programming, but just thought i should say that...

    Thanks
     
  3. Unread #2 - Mar 20, 2013 at 12:31 AM
  4. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    Heyo guys, Assembly?

    LOL wow, you're in for a treat. Assembly is hard as fuck. It's basically only a couple steps up from binary, which you know as 0101010001001001. You're going to be manipulating a lot of memory to make your shit work.

    I'd honestly recommend googling some books or tutorials and go through the whole thing to get ahead of the class, because if you jump in straight I doubt you'll have a good time. Assembly is definitely not easy.

    Just to give you an idea, the following bit of code prints "Hello World" in a message box (this is for 32 bit Windows):
    Code:
             .486p
             .model  flat,STDCALL
    include  win32.inc
     
    extrn            MessageBoxA:PROC
    extrn            ExitProcess:PROC
     
    .data
     
    HelloWorld db "Hello, world!",0
    msgTitle db "Hello world program",0
     
    .code
    Start:
             push    MB_ICONQUESTION + MB_APPLMODAL + MB_OK
             push    offset msgTitle
             push    offset HelloWorld
             push    0
             call    MessageBoxA
     
             push 0
             call ExitProcess
    ends
    end Start
     
  5. Unread #3 - Mar 20, 2013 at 8:40 AM
  6. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Heyo guys, Assembly?

    Blupig's off his rocker. I loved my assembly course. We didn't use a real language and its annoying as fuck and its nearly impossible to find bugs and it will make you rip your hair out but I thought it was quite fun. Just force yourself to do it a lot and it is better.
     
  7. Unread #4 - Mar 20, 2013 at 11:27 PM
  8. kmjt
    Joined:
    Aug 21, 2009
    Posts:
    14,450
    Referrals:
    8
    Sythe Gold:
    449

    kmjt -.- The nocturnal life chose me -.-
    Banned

    Heyo guys, Assembly?

    I have to take it next year. Good luck us =(
     
  9. Unread #5 - Mar 21, 2013 at 5:55 PM
  10. me_person666
    Joined:
    Aug 13, 2008
    Posts:
    425
    Referrals:
    0
    Sythe Gold:
    0

    me_person666 Forum Addict

    Heyo guys, Assembly?


    can you recommend any tuts and books?



    If you guys are wondering, this is a course where i build (solder together) a small sumo bot. We have to program it and everything.
     
  11. Unread #6 - Mar 22, 2013 at 12:49 PM
  12. Laurie
    Joined:
    Nov 26, 2007
    Posts:
    7,630
    Referrals:
    0
    Sythe Gold:
    1,197
    M
    Two Factor Authentication User SytheSteamer

    Laurie
    Retired Sectional Moderator Pirate $50 USD Donor

    Heyo guys, Assembly?

    I learnt TASM at College, writing programs for PIC microcontrollers but i've forgotten alot of the information.
     
  13. Unread #7 - Mar 25, 2013 at 12:45 AM
  14. PijaVenosa
    Joined:
    Oct 16, 2012
    Posts:
    504
    Referrals:
    0
    Sythe Gold:
    824
    Discord Unique ID:
    218731748610015232
    Discord Username:
    Totomi#0070
    Poképedia Pokémon Trainer Tier 1 Prizebox (3)

    PijaVenosa Forum Addict
    $200 USD Donor New

    Heyo guys, Assembly?

    In assembly, how would the code look if it just printed "Hello World" to the default output stream?
     
< Buying StackOverflow, Antichat, and other good programming/hacking accts | 2 player space invaders (applet) >

Users viewing this thread
1 guest


 
 
Adblock breaks this site