DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

API4000M8 View Datasheet(PDF) - APLUS INTEGRATED CIRCUITS

Part Name
Description
Manufacturer
API4000M8
Aplus
APLUS INTEGRATED CIRCUITS Aplus
API4000M8 Datasheet PDF : 15 Pages
First Prev 11 12 13 14 15
INTEGRATED
API4000M SERIES
CIRCUITS INC. VOICE OTP MODULE
MOVD R7 , 204 ;
TEMPO R7 ;
MOVD R0 , 111 ;
OUT PE , R0 ;
/* R7 = 204 */
/* Set Tempo = 99 */
/* R0 = 01101111 */
/* SetSound Processor = ON,Melody = ON,CH4 ~ CH1 to Melody Mode */
P5:
JUMP INTR1 , P40 ; /* if Key In go to P40 */
JUMP INTR2 , P30 ; /* if Song End go to P30 */
JUMP INTR4 , P20 ; /* if Change Instrument go to P20 */
JUMP ADDR , P5 ; /* go to P5 */
P20:
INPUT PB , R8 ;
/* read data about changing instrument */
CLINTR ;
/* clear INTR4 */
ADDC R8 , 224 ;
/* if R8 < 32 */
JUMP CO0 , P22 ;
/* if CH2 go to P22 */
ADDC R8 , 192 ;
/* if R8 < 64 */
JUMP CO0 , P23 ;
/* if CH3 go to P23 */
ADDC R8 , 160 ;
/* if R8 < 96 */
JUMP CO0 , P24 ;
/* if CH4 go to P24 */
P21:
LDSPADB C1B , S21 ; /* Set Start Address of Sound21 on CH1B */
LDSPADF C1B , S21 ; /* Set End Address of Sound21 on CH1B */
LDSPADB C1A , S22 ; /* Set Start Address of Sound22 on CH1A */
LDSPADF C1A , S22 ; /* Set End Address of Sound22 on CH1A */
JUMP ADDR , P5 ; /* go to P5 */
P22:
LDSPADB C2B , S31 ; /* Set Start Address of Sound31 on CH2B */
LDSPADF C2B , S31 ; /* Set End Address of Sound31 on CH2B */
LDSPADB C2A , S32 ; /* Set Start Address of Sound32 on CH2A */
LDSPADF C2A , S32 ; /* Set End Address of Sound32 on CH2A */
JUMP ADDR , P5 ; /* go to P5 */
P23:
LDSPADB C3B , S33 ; /* Set Start Address of Sound33 on CH3B */
LDSPADF C3B , S33 ; /* Set End Address of Sound33 on CH3B */
LDSPADB C3A , S34 ; /* Set Start Address of Sound34 on CH3A */
LDSPADF C3A , S34 ; /* Set End Address of Sound34 on CH3A */
JUMP ADDR , P5 ; /* go to P5 */
P24:
LDSPADB C4B , S25 ; /* Set Start Address of Sound25 on CH4B */
LDSPADF C4B , S25 ; /* Set End Address of Sound25 on CH4B */
LDSPADB C4A , S26 ; /* Set Start Address of Sound26 on CH4A */
LDSPADF C4A , S26 ; /* Set End Address of Sound26 on CH4A */
JUMP ADDR , P5 ; /* go to P5 */
12
Ver1.1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]