Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: I need to learn ASM by December  (Read 1569 times)

0 Members and 1 Guest are viewing this topic.

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
I need to learn ASM by December
« on: July 27, 2006, 12:21:25 pm »
Any suggestions for a somewhat easy time learning the godawful programming language known as microprocessor assembly? I need to learn it for robotics, as our lead programmer dropped out.
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

AtomSmasher

  • I'm happy to fly below Saint's radar
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3884
  • Last login:September 02, 2022, 03:50:10 am
  • I'd rather be rich than stupid.
    • Atomic-Train
Re: I need to learn ASM by December
« Reply #1 on: July 27, 2006, 12:27:46 pm »
Oh, that sucks.  I had to learn mac assembly back in school, it definately sucked.

JoeJoe97

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:September 19, 2007, 06:52:12 am
Re: I need to learn ASM by December
« Reply #2 on: July 27, 2006, 04:28:19 pm »
What microprocessor?  x86? 

In college we had a number of courses on the Motorola 68HC11.  We also had one x86 course as well.  I think once you get used to the ways of assembly, you might appreciate the simplicity of it.

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: I need to learn ASM by December
« Reply #3 on: July 27, 2006, 04:38:56 pm »
try Art of Assembly language (assume x86)


http://webster.cs.ucr.edu/

You can buy the book or down load the book in various formats.


Great tutorial..


Good luck

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: I need to learn ASM by December
« Reply #4 on: July 28, 2006, 01:52:35 pm »
Anyone have an Apple II system or C64 I can practice on? I know I could go with emulators, but I'd rather work on the real thing.
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:June 22, 2025, 04:57:38 pm
Re: I need to learn ASM by December
« Reply #5 on: July 28, 2006, 01:54:50 pm »

I have a bunch of TI99s I'm going to part with soon.

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: I need to learn ASM by December
« Reply #6 on: July 28, 2006, 02:05:24 pm »
What CPU will you be using?
6502?
6510?

If it is this family then haev you checked out

http://www.6502.org/ tons of stuff there. (including some pretty good tutorials)

I hate to say this but an emulator would probably be an easier solution.




thebrownshow

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 546
  • Last login:December 14, 2010, 03:14:32 pm
Re: I need to learn ASM by December
« Reply #7 on: July 28, 2006, 03:24:26 pm »

I have a bunch of TI99s I'm going to part with soon.

Dude, if you have Hunt the Wumpus I totally call dibs.

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:June 22, 2025, 04:57:38 pm
Re: I need to learn ASM by December
« Reply #8 on: July 28, 2006, 03:30:21 pm »

I'd be surprised if I don't.  I have stacks TI99 stuff straight from the TI labs.

RayB

  • I'm not wearing pants! HA!
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11279
  • Last login:July 10, 2025, 01:33:58 am
  • There's my post
    • RayB.com
Re: I need to learn ASM by December
« Reply #9 on: July 29, 2006, 07:34:59 pm »
USS: There are many flavors of ASM.  As was asked above, which CPU?

ASM is pretty easy. It's mostly all about moving and comparing data.

NO MORE!!

Dervacumen

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1080
  • Last login:June 12, 2024, 01:58:21 am
  • Home of Three Squares dice game
    • Beaker Games
Re: I need to learn ASM by December
« Reply #10 on: July 29, 2006, 09:13:35 pm »
I've got two books on 6502 assembly lang. I was about to send to ebay.  If you're interested let me know.  I'll send them your way.
Learning ASM is pretty straightforward, really.  It took me about 4 weeks to do the basic stuff.  The hardest part was getting your head around loading a bunch of registers with data when normally you just type =2+4.
Bringing to life a child's imagination.

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: I need to learn ASM by December
« Reply #11 on: July 30, 2006, 11:33:27 am »
Its certainly not the 6502. Its a BASIC stamp processor. Apparently, our old programmer was integrating ASM into the PBASIC to program the robot
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: I need to learn ASM by December
« Reply #12 on: July 30, 2006, 12:35:49 pm »
Then why where you asking for Apple or c64(6502 and 6510 machines)?

USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: I need to learn ASM by December
« Reply #13 on: July 30, 2006, 03:19:16 pm »
I was assuming that all assembly is basically the same. An I incorrect?
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

Grasshopper

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2380
  • Last login:March 04, 2025, 07:13:36 pm
  • life, don't talk to me about life
Re: I need to learn ASM by December
« Reply #14 on: July 30, 2006, 03:43:35 pm »
I was assuming that all assembly is basically the same. An I incorrect?

No, each processor family is completely different.

You'd better hope it's not the 6502 as programming that chip is very hard work. From memory (it's been a long time since I did any assembly programming) I believe it only had three 8 bit registers for doing calculations and one 16 bit register for addresses.
"Patriotism is the last refuge of the scoundrel." - Samuel Johnson

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:June 22, 2025, 04:57:38 pm
Re: I need to learn ASM by December
« Reply #15 on: July 30, 2006, 06:41:23 pm »

On the bright side, if it is 6502, he'll be able to write games for the 2600 and the NES.

Seriously, seriously doubt it would be 6502.

Basically, he can't begin to research it until he knows what processor it is.  Then he needs to ask RISC or CISC and begin to learn accordingly.

lokki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 647
  • Last login:May 05, 2025, 06:18:51 pm
Re: I need to learn ASM by December
« Reply #16 on: July 30, 2006, 08:08:25 pm »
Yes, assembly varies greatly from one CPU to another.
It would be easier if you knew the family of the CPU that you need to use.

Also there are compilers out there that can take c code (which may be easier to learn than assembly but not much) and convert it to assembly.



USSEnterprise

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1673
  • Last login:October 11, 2007, 11:15:08 pm
    • USS Odyssey
Re: I need to learn ASM by December
« Reply #17 on: July 31, 2006, 08:17:36 pm »
BS2SX is the processor I am working with.
Proper capitalization is the difference between helping your Uncle Jack off a horse, and helping your uncle jack off a horse.

rockhopper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:December 26, 2015, 05:15:36 pm
  • I love orange soda!
Re: I need to learn ASM by December
« Reply #18 on: July 31, 2006, 11:51:01 pm »
I'm pretty sure you can't use assembly with the bs2sx, as that package includes an interpreter that only accepts pbasic commands.

if you meant the sx chip by itself, there is a heap of info on

http://www.parallax.com/sx/downloads.asp

including info on learning and using assembly.


RayB

  • I'm not wearing pants! HA!
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11279
  • Last login:July 10, 2025, 01:33:58 am
  • There's my post
    • RayB.com
Re: I need to learn ASM by December
« Reply #19 on: August 03, 2006, 04:04:43 pm »
I was assuming that all assembly is basically the same. An I incorrect?

They are the same in theory, but the mnemonics differ.

NO MORE!!

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:June 22, 2025, 04:57:38 pm
Re: I need to learn ASM by December
« Reply #20 on: August 03, 2006, 04:32:07 pm »

Yep, in theory, you can separate them into RISC and CISC and then study how to use either.

The command set and specific mechanics would differ but you can move from one CPU to another in the same category much easier than you can to one of the other.