NEC PD17062 Bedienungsanleitung Seite 45

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 296
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 44
45
µ
PD17062
Example 3 shows a program that transfers eight words of data from BANK2 to BANK0 data memory in units
of four words, as shown in Fig. 6-4. If the general-purpose register is allocated in a fixed row address, for
example, only in row address 0 of BANK0, instructions are needed to transfer all of the eight words to the
register and then store them into data memory. In contrast, if the row address of the general-purpose register
is changed using the general-purpose register pointer as shown in example 3, the operation can be completed
simply by executing a storage instruction.
Fig. 6-4 Execution of Instructions in Example 3
012 3456789ABCDEF
0
2
3
4
5
6
7
1
RP
BANK0
0
2
3
4
5
6
7
1
BANK1
0
2
3
4
5
6
7
1
BANK2
RP = 0000000B
RP = 0000100B
System register
Column address
Row address
System register
System register
Seitenansicht 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 295 296

Kommentare zu diesen Handbüchern

Keine Kommentare