Added as10k1 tool (EMU10K1 FX8010 DSP assembler).

This commit is contained in:
Jaroslav Kysela 2001-04-12 08:21:01 +00:00
parent a4569af2bb
commit f2d80b5b5d
28 changed files with 3523 additions and 0 deletions

29
as10k1/examples/delay.asm Normal file
View file

@ -0,0 +1,29 @@
;;; A simple delay routine
include "emu_constants.asm"
name "delay"
level control 0.5, #0 , #1
feedback control #0.3, #0 , #1
delay control &0.2, &0, &0.5
io IO
dly delay &0.5 ; 0.5 sec delay block
write twrite dly,0 ; write at 0 sec
read tread dly,&.2 ; read at 0.2 sec
acc3 read.a,delay,write.a,C_0
macs io,io,level,read
macs write,io,read,feedback
end