NEC PD75P402 Instrukcja Użytkownika Strona 45

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 195
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 44
34
CHAPTER 4. INTERNAL CPU FUNCTIONS
(2) Peripheral hardware area
The peripheral hardware area is mapped to memory bank 15’s addresses F80H to FFFH.
The operation is performed by the memory manipulation instruction just as in the static RAM. In the peripheral
hardware, however, the operable bit unit differs from one address to another. It is impossible to access an address
to which the peripheral hardware is not assigned since the data memory is not built in. (See Table 3-4 “
µ
PD75402A
I/O Map".)
Note The static RAM is indefinite at reset. Therefore, it should be initialized to zero at the beginning of the
program (RAM clear). This must be carried out for sure to avoid unexpected bugs.
Example Clear all the areas (00H to 3FH) of the static RAM (FFH remains in the HL register, however).
MOV HL, #3FH
MOV A, #0H
LOOP: MOV @HL, A: Clear (0) 00H to 3FH
DECS L
BR LOOP
DECS H
BR LOOP
Przeglądanie stron 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 194 195

Komentarze do niniejszej Instrukcji

Brak uwag