Intel 8XC196NT User Manual page 425

Table of Contents

Advertisement

8XC196NT USER'S MANUAL
Mnemonic
EBMOVI
EXTENDED INTERRUPTABLE BLOCK
MOVE. Moves a block of word data from one
memory location to another. This instruction
allows you to move blocks of up to 64K words
between any two locations in the 16-Mbyte
address space. This instruction is inter-
ruptable.
The source and destination addresses are
calculated using the extended indirect with
autoincrement addressing mode. A quad-
word register (PTRS) addresses the 24-bit
source and destination pointers, which are
stored in adjacent double-word registers. The
source pointer (SRCPTR) is the low double-
word and the destination pointer is the high
double-word of PTRS. A word register
(CNTREG) specifies the number of transfers.
The blocks of data can reside anywhere in
memory, but should not overlap.
COUNT
LOOP: SRCPTR
DSTPTR
(DSTPTR)
(PTRS)
(PTRS + 2)
COUNT
if COUNT
go to LOOP
Z
EBR
EXTENDED BRANCH INDIRECT. Continues
execution at the address specified in the
operand word register. This instruction is an
unconditional indirect jump to anywhere in
the 16-Mbyte address space.
EBR shares its opcode (E3) with the BR
instruction. To differentiate between the two,
the compiler sets the least-significant bit of
the EBR instruction. For example: EBR [50]
becomes E351 when compiled.
PC
(DEST)
Z
A-16
Table A-6. Instruction Set (Continued)
Operation
(CNTREG)
(PTRS)
(PTRS + 2)
(SRCPTR)
SRCPTR + 2
DSTPTR + 2
COUNT 1
0 then
PSW Flag Settings
N
C
V
VT
PSW Flag Settings
N
C
V
VT
Instruction Format
PTRS, CNTREG
EBMOVI prt2_reg, wreg
(11100100) (wreg) (p2_reg)
NOTES:
The pointers are autoincre-
mented during this instruction.
However, CNTREG is decre-
mented only when the instruc-
tion is interrupted. When
EBMOVI is interrupted,
CNTREG is updated to store
the interim word count at the
time of the interrupt. For this
reason, you should always
reload CNTREG before starting
an EBMOVI.
For 20-bit addresses, the offset
must be in the range of
+524287 to –524288.
ST
DEST
EBR
cadd
or
EBR
[treg]
(11100011) (treg)
NOTE: For 20-bit addresses, the offset
must be in the range of +524287
to –524288.
ST

Advertisement

Table of Contents
loading

Table of Contents