Flushreg - Intel i960 Jx Developer's Manual

Microprocessor
Table of Contents

Advertisement

INSTRUCTION SET REFERENCE
6.2.30

flushreg

Mnemonic:
flushreg
Format:
flushreg
Description:
Copies the contents of every cached register set, except the current set, to its
associated stack frame in memory. The entire register cache is then marked as
purged (or invalid). On a return to a stack frame for which the local registers
are not cached, the processor reloads one set of the locals from memory.
flushreg
circumvent the processor's normal call/return mechanism. For example, a
debugger may need to go back several frames in the stack on the next return,
rather than using the normal return mechanism that returns one frame at a
time. Since the local registers of an unknown number of previous stack
frames may be cached, a
PFP to return to a frame other than the one directly below the current frame.
To reduce interrupt latency,
higher priority than the current process is detected while
executing,
interrupt handler, the processor returns to the
re-executes it.
the interrupt occurred.
when tracing is enabled in the PC or when any faults are pending at the time
of the interrupt.
Action:
Each local cached register set except the current one is flushed to its
associated stack frame in memory and marked as purged, meaning that they
are reloaded from memory if and when they become the current local register
set.
Faults:
STANDARD
Example:
flushreg
Opcode:
flushreg
6-54
Flush Local Registers
is provided to allow a debugger or application program to
must be executed prior to modifying the
flushreg
flushreg
flushreg
flushes at least one frame and aborts. After executing the
does not reflush any frames that were flushed before
flushreg
is not aborted by high priority interrupts
flushreg
Refer to
66DH
REG
is abortable. When an interrupt of
flushreg
instruction and
flushreg
section 6.1.6, "Faults" (pg.
is
6-5).

Advertisement

Table of Contents
loading

Table of Contents