
Chapter 2
N
Data Memory
R4
Address:
N
Example:
Indirect Address mode of data memory access.
MOV A, @0x10
MOV 0x04, A
; R4=0x10
CLR 0x0
; R10=0
BS 0x0, 0
; R10=1
BS 0x0, 7
; R10=0x81
Note that the 2 MSB of R4 are Bank Select bits for the data memory bank
selection (Bank 0 to Bank 3). The lower 6 bits are used for Indirect Address
value, ranging from 0x00 to 0x3F.
2.4.4 Voice ROM
The EM60000 series provide a large voice ROM for speech/instrument
playback and user’s applications. The voice ROM can be accessed through
hardware or software. Generally, you need to first write the address of the
desired data and then read the data through a special I/O mapped control
register. The reading operation is controlled by software. Three address
pointers are provided, i.e., two for speech-timer interrupt subroutine and one for
general-purpose voice ROM data access.
Alternatively, when playing instrument melodies, the instrument waveform is
initially stored in the voice ROM. You can set the start address of the waveform
data through software; the tone generator will then fetch the waveform data
automatically. This demonstrates that the tone generator can take care of
accessing voice ROM data by itself without manual interference.
EM60000 Series User’s Manual
Architecture
•
15
Содержание EM60000 series
Страница 8: ...Contents viii Contents EM60000 Series User s Manual ...
Страница 24: ...Chapter 2 16 Architecture EM60000 Series User s Manual ...
Страница 54: ...Chapter 4 46 Special Function Control EM60000Series User s Manual ...
Страница 80: ...Chapter 5 72 Instruction Set EM60000Series User s Manual ...