Welcome, Guest. Please login or register.

Author Topic: Programming question! :)  (Read 3324 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline jorkany

  • Hero Member
  • *****
  • Join Date: Sep 2006
  • Posts: 1009
    • Show all replies
    • http://www.amigaos4.com
Re: Programming question! :)
« on: April 16, 2012, 03:49:46 PM »
Try using a switch statement. It should produce code very similar to what you have posted, usually using a jump table but check the asm output to make sure it's acceptable.



Also, you might want to consider examining your algorythmic boundaries!  (j/k)