Crossware

Table of Contents        Previous topic       

MICROPROCESSOR INSTRUCTION REFERENCE->WDEBUG

WDEBUG    Write debug control register

Assembler syntax:    WDDATA <ea>

Size: Long.

This instruction fetches two consecutive long words from the memory location defined by the effective address.  It then send these to the ColdFire debug module for execution as an instruction to write to one of the debug control registers (DRc).  The memory address defined by the effective address must be on a long word boundary.

The data must be orgranised in memory as follows:

0010 1100 1000 DRc
Data[31:16]
Data[15:0]
Unused


Condition codes: Not affected


    
Allowable Addressing Modes
     
WDEBUG(An)
WDEBUG(d16,An)