Renesas SDI Emulator System M32100T-EZ-E Manual de usuario Pagina 5

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 10
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 4
( 5 / 10 )
(4) Other cautions and restrictions dependent on MCU model
IMPORTANT
Note on Using the MVTC Instruction (1):
When the user program is stopped by the MVTC instruction at the address of the
instruction which operates BPC, a BPC value may be changed even if the MVTC
instruction has not been executed. Occurrence of this phenomenon depends on the
MCU status and the instruction sequence. After this phenomenon occurs, the program
is normally re-executed starting with the PC value of the MVTC instruction.
The following shows sample data when the phenomenon occurs.
Example:
Address Instruction
H'100 LD24 R0,#H'100
H'104 MVTC R0,BPC
H'106 NOP
When a break occurs at PC = H'104 in the above program fragment, BPC = H'100
may be enabled even before the MVTC instruction is executed.
Note on Using the MVTC Instruction (2):
In cases when instructions used to operate on the BPC with the MVTC instruction
are followed by an RTE instruction, do not set a preexecution PC breakpoint for the
RTE instruction. This is because the BPC value becomes illegal and the program
cannot be run normally after a break.
The following shows sample data when the phenomenon occurs.
Example:
Address Instruction
H'100 LD24 R0,#H'100
H'104 MVTC R0,BPC
H'106 NOP
H'110 RTE
If in the above program fragment a preexecution PC breakpoint is set at PC = H'110
to cause a break, the BPC value becomes illegal.
Vista de pagina 4
1 2 3 4 5 6 7 8 9 10

Comentarios a estos manuales

Sin comentarios