Hello TCBcat,
TBC>>Is the simple call of the pause 20 vs the gosub call + the going and returning really any shorter?<<
You will not save code space. It may make your program easier to read...
What you can do, is write a short program to do just that...
If your gosube was doing more than just a "pause", then you have a greater chance of saving code space.
It takes asm to place a marker, call a branch, and return to the marker. Since your subroutine is only doing one thing...."pause X" you lose.
DWayne
Last edited by Dwayne; - 11th August 2004 at 04:22.
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks