Assembly

Discussion in 'OT Technology' started by hurleyint1386, Feb 22, 2009.

  1. hurleyint1386

    hurleyint1386 Someone has sand in their vagina

    Joined:
    Jan 6, 2005
    Messages:
    3,687
    Likes Received:
    0
    Location:
    Rochester, NY
    Looking to play around with some Assembly. I took a class on it a few years ago and thought it was pretty cool. The only problem I'm having is that I'm not sure how to compile on a Mac. I think you can use GCC, although when I did it, I used some Microsoft ASM stuff that has to be installed to work in the console. Any help would be greatly appreciated. I'll need to look back at some of my notes and programs I wrote.

    Thanks guise

    edit: I notice in my programs I used "Irvine32.inc" Is that for Microsoft? Damn, I can't remember any of this stuff.
     
  2. Krakerjak

    Krakerjak Active Member

    Joined:
    Jul 7, 2003
    Messages:
    8,288
    Likes Received:
    0
    Location:
    Edmonton eh
    I think irvine32 is just a 32bit intel instruction set, not a specific one you have to use unless you want to

    When I was learning assembly I was testing with HC12 microcontrollers so I used the motorola instruction sets and MCUez. I also did assembly with PIC microcontrollers but quickly moved coding in C and used a compiler that would compile to a specific assembly instruction set needed.

    I'd just try and find a program that will provide you with a debugger, whatever program that might be. It's hard enough to debug assembly itself, but without being able to watch the registers and step through its impossible
     
  3. mobbarley

    mobbarley Active Member

    Joined:
    Mar 4, 2005
    Messages:
    9,256
    Likes Received:
    2
    Location:
    Sydney
  4. CodeX

    CodeX Guest

    I learned the same way, Motorola M68HC12. But you are right, in general you have be a lunatic to develop in assembly. Even the embedded applications that I develop for a living are done in C, with individual time-critical routines written in custom ASM as needed, such as the routine I wrote to read analog NTSC data and plot pixels to the display, enabling 30hz television signals to be displayed on our handheld instrument.
     

Share This Page