Thread View: comp.dsp
1 messages
1 total messages
Started by Andrew Reilly
Sat, 19 Jan 2002 21:21
Re: assembly help question
Author: Andrew Reilly
Date: Sat, 19 Jan 2002 21:21
Date: Sat, 19 Jan 2002 21:21
44 lines
2125 bytes
2125 bytes
On Sun, 20 Jan 2002 09:02:19 +1100, y_jim542000@yahoo.com wrote: > DSP is 56k motorola. > > Having a mydsp.asm file with: > start_it_here > . > . > . > end start_it_here This information doesn't appear to be relevant to the question that follows. If it is, then this answer is probably wrong... > Now, > having data file called: mydata.data > there is: > start_it_here > DC ... > DC ... > DC ... > END start_it_here (You'll need at least a space before each of those "DC" pseudo-ops on each line.) > how do i make the first two DC .. lines loop 20 times > and then go to the last DC .. line?. start_it_here dup 20 DC val_1 DC val_2 endm DC last_val end start_it_here The Motorola assembler manual, which describes dup (and it's several variants) in great detail is available on Motorola's web pages as a PDF. If you're doing much 56k coding, it will be handy to have it open beside you. -- Andrew Reilly
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads