STRE Prototype SGLB Misc/Class Reference CLAS 354245 ESBR SORD 2 PORD 4 /o,2,64;Decimation factor (2 to 64) LVAL 0 accumulator LVAL 0 multiplier LITO 0 counter ESBR SORD 8 LVAL 0 input LVAL 0 output ESBR SGLB Output/#1 LCON /*+0,220,144,45;Output ESBR ESTR STRE SGLB Misc/Superclass Reference CLAS 354115 ESBR SGLB General/Initialize CMNT Expects: É ¥ inst/É LCAL init ESBR SGLB SignalP/Input /3v7,-100,100,-100,100;Input (%) CMNT Expects: É ¥ inst/arg/É CALL 354113 É ¥ inst/arg/É PRIM Stack/Second to aux É/arg ¥ inst/É LITO 2 É/arg ¥ 2/inst/É PRIM S_tree/Entry to stack É/arg ¥ counter/factor/acc/recount/inst/É PRIM Stack/Rotate up É/arg ¥ factor/acc/counter/recount/inst/É PRIM Stack/Push from aux É ¥ arg/factor/acc/counter/recount/inst/É PRIM Value/Multiply É ¥ arg*factor/acc/counter/recount/inst/É PRIM Value/Add É ¥ acc'/counter/recount/inst/É PRIM Stack/Pop to aux É/acc' ¥ counter/recount/inst/É PRIM Ordinal/Decrement É/acc' ¥ counter-1/recount/inst/É PRIM Stack/Duplicate É/acc' ¥ counter-1/counter-1/recount/inst/É BRFL branch if zero PRIM Stack/Drop É/acc' ¥ recount/inst/É LVAL 0 É/acc' ¥ 0/recount/inst/É LCAL Store É/acc' ¥ inst/É PRIM Stack/Push from aux É ¥ acc'/inst/É CALL 354114 É ¥ É BRTR PRIM Stack/Xdrop É/acc' ¥ counter-1/inst/É PRIM Stack/Push from aux É ¥ acc'/counter-1/inst/É LCAL Store É ¥ inst/É PRIM Heap/Store self ESBR SGLB SignalP/Decimation Factor /3u105,2,64;Enter Data... (2 to 64) CMNT Expects: É ¥ inst/arg/É PRIM Stack/Swap É ¥ arg/inst/É LITO 2 É ¥ 2/arg/inst/É LITO 64 É ¥ 64/2/arg/inst/É CALL 354234 É ¥ rslt/out/inst/É PRIM Stack/Drop É ¥ out/inst/É LITO 1 É ¥ 1/out/inst/É LITO 2 É ¥ 2/1/out/inst/É PRIM S_tree/Replace É ¥ inst/É LCAL init ESBR SGLB SignalP/Get Decimation Factor /2u2 LITO 1 CALL 354072 ESBR ESTR CMTL 5 graphic info CMNT 4 -18,-18,238,288 CMTL 3 0 CMNT 24 16,0,144,45,8,1,x;SignalP/Input CMNT 24 16,0,216,45,2,1,n;SignalP/Decimation Factor ECMT CMTL 7 0 CMNT 22 -10,136,1,8,1,SignalP/Get Input;/v,-100,100;%1.0f%% CMNT 22 -10,208,0,2,1,SignalP/Get Decimation Factor;/u CMNT 14 240,136,1,2,3,SignalP/Get Output;/v,-100,100;%1.0f%% ECMT CMNT 8 0,0,220,270 CMNT 12 120,18,125,28 CMNT 12 80,18,120,18 CMNT 12 80,18,100,46 CMNT 12 80,74,100,46 CMNT 12 80,74,120,74 CMNT 12 125,64,120,74 CMNT 14 140,70,x CMNT 12 70,88,180,88 CMNT 18 125,140,n ECMT LDEF init CMNT Initializes based on the decimation factor CMNT Input: É ¥ inst/É CMNT Output: É ¥ É LITO 1 É ¥ 1/inst/É LITO 2 É ¥ 2/1/inst/É PRIM S_tree/Read É ¥ recount/inst/É PRIM Stack/Dup down É ¥ recount/inst/recount/É LITO 4 É ¥ 4/recount/inst/recount/É LITO 2 É ¥ 2/4/recount/inst/recount/É PRIM S_tree/Replace É ¥ inst/recount/É PRIM Stack/Swap É ¥ recount/inst/É LITO 64 É ¥ 64/recount/inst/É PRIM Misc/Ordinal to value É ¥ recount'/inst/É LVAL 0.0156255 É ¥ 0.0156/recount'/inst/É PRIM Value/Fraction É ¥ multiplier/inst/É LITO 3 É ¥ 3/multiplier/inst/É LITO 2 É ¥ 2/3/multiplier/inst/É PRIM S_tree/Replace É ¥ inst/É LVAL 0 É ¥ 0/inst/É LITO 2 É ¥ 2/0/inst/É LITO 2 É ¥ 2/2/0/inst/É PRIM S_tree/Replace É ¥ inst/É PRIM Heap/Store self EDEF LDEF Store CMNT Stores the new acc and count CMNT Input: É ¥ acc'/counter/inst/É CMNT Output: É ¥ inst/É PRIM Stack/Rotate up É ¥ counter/inst/acc'/É LITO 4 É ¥ 4/counter/inst/acc'/É LITO 2 É ¥ 2/4/counter/inst/acc'/É PRIM S_tree/Replace É ¥ inst/acc'/É PRIM Stack/Swap É ¥ acc'/inst/É LITO 2 É ¥ 2/acc'/inst/É LITO 2 É ¥ 2/2/acc'/inst/É PRIM S_tree/Replace É ¥ inst/É EDEF