header_2.gif (908 Byte) logo_v1.gif (3356 Byte) header_1.gif (905 Byte)
Pages
TI92
TI89
HowTo
Linking
MXM Programs

Powered by

[ticalc.org]
[levante.de]
[xoom.com]
[listbot.com]
[fastcounter.com]

Page design by DMnow!

In this section we offer some articles, how to program some specific parts of a game or the TI92!
We will add articles, so revisit this section!

Optimizing of the code

First, replacing of instructions
move. #0,{...} clr. {...}
move. #-1,{...} st. {...}
lea variable(PC),-(a7) pea variable(PC)
cmp. #0,{...} tst. {...}
move. #{Byte number},{...} moveq. #{Byte number},{...}

Another optimizing tip is to contain a lot of variables in registers for faster access, use long operations (they are faster).
Copying of a memory area to another area, you should use long moves and the rest use word and byte moves
When you program a game for example, use a very fast sprite routine (The spriteroutine from Jimmy Mardell for example)
Find the most timeintensive parts in your program and and optimize them, or send the source to Assembly-92 list and they could probably help you.

Sorry, but this section will be advanced
header_3.gif (882 Byte)
[Back to the top] [Back to the index] [Other HOWTO's]
header_4.gif (881 Byte)