Jump to content



0

Assembly programming projects

Assembly programming assembly language

5 replies to this topic

#1 samishal OFFLINE  

samishal

    Space Invader

  • 35 posts

Posted Tue Nov 1, 2011 9:54 AM

Hello,

Just starting to learn TMS9900 assembly, just wondering if anyone had any good ideas for some mini projects to do in assembly?

Samishal

#2 adamantyr OFFLINE  

adamantyr

    Moonsweeper

  • 424 posts

Posted Tue Nov 1, 2011 11:28 AM

Welcome!

A good way to teach yourself assembly is to convert a simple BASIC program to assembly. I did this with TI-Trek awhile back:

http://www.adamantyr...isc/titrek.html

Adamantyr

#3 samishal OFFLINE  

samishal

    Space Invader

  • 35 posts

Posted Tue Nov 1, 2011 1:20 PM

Thanks man!

#4 matthew180 OFFLINE  

matthew180

    Stargunner

  • 1,242 posts
  • Location:Marshall, Michigan

Posted Thu Nov 3, 2011 6:50 AM

IMO you should start with something that gives you visual feedback, since *seeing* something happen on the screen is good for motivation and your moral. Assembly can be intimidating when you are starting out, and it can sometimes be frustrating just trying to get something to run, let alone the results you want. Thus, start with simple things like clearing the screen. Then write a text message to the screen, like the traditional "Hello World". Finally animate a single character. After that, you might start looking in to how you can control moving that character with the joystick or keyboard.

There are a lot of assembly related posts in this forum, do a search or look back a few pages. Ask questions, and don't give up! :-)

#5 Vorticon OFFLINE  

Vorticon

    Moonsweeper

  • 494 posts
  • Location:St. Paul, MN, USA

Posted Thu Nov 3, 2011 8:01 AM

View Postmatthew180, on Thu Nov 3, 2011 6:50 AM, said:

IMO you should start with something that gives you visual feedback, since *seeing* something happen on the screen is good for motivation and your moral. Assembly can be intimidating when you are starting out, and it can sometimes be frustrating just trying to get something to run, let alone the results you want. Thus, start with simple things like clearing the screen. Then write a text message to the screen, like the traditional "Hello World". Finally animate a single character. After that, you might start looking in to how you can control moving that character with the joystick or keyboard.

There are a lot of assembly related posts in this forum, do a search or look back a few pages. Ask questions, and don't give up! :-)
I would also add that this is a good time to document all the little routines you test out because you will likely need them in the future for larger programs. For example, you probably want a screen clearing routine, a keyboard input routine and a binary to ASCII routine to display data, just for starters. Remember that in assembly you will need to create all the essential utilities you take for granted in higher level languages, and if memory serves me correctly, the sooner you get these worked out, the easier your future programming will become. Good luck and keep at it because it's very rewarding in the end :)

#6 samishal OFFLINE  

samishal

    Space Invader

  • 35 posts

Posted Fri Nov 4, 2011 1:12 PM

Cheers, that does sound like a good idea to document the routines, thanks vorticcon and matthew180




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users