User`s manual

.PFLASH Function
5-76
5
.PFLASH Function
Name
.PFLASH - Program Flash memory
Code
$0073
Description
The purpose of this TRAP is to program Flash memory under
program control. The address of the packet is passed as an
argument to the function. The address of the packet is passed in the
longword memory location pointed to by the current stack pointer.
The packet contains the necessary arguments/data to program the
Flash memory.
Entry Conditions
R03 ==> Address: Starting address of control packet word
Exit Conditions Different From Entry
None
Format of Flash Memory Control Packet
The Flash Memory Control Packet must be word (32 bit) aligned.
31 24 23 16 15 8 7 0
$00 Status Word Control Word
$04 Source Starting Address
$08 Number of Bytes to Program
$0C Destination Starting Address
$10 Instruction Execution Address