Intel 8XC196K Series User Manual page 479

Table of Contents

Advertisement

8XC196K x , J x , CA USER'S MANUAL
Mnemonic
TRAP
SOFTWARE TRAP. This instruction causes
an interrupt-call that is vectored through
location 2010H. The operation of this
instruction is not affected by the state of the
interrupt enable flag (I) in the PSW. Interrupt-
calls cannot occur immediately following this
instruction.
SP
SP – 2
(SP)
PC
PC
(2010H)
Z
XCH
EXCHANGE WORD. Exchanges the value of
the source word operand with that of the
destination word operand.
(DEST)
Z
XCHB
EXCHANGE BYTE. Exchanges the value of
the source byte operand with that of the
destination byte operand.
(DEST)
Z
XOR
LOGICAL EXCLUSIVE-OR WORDS. XORs
the source word operand with the destination
word operand and stores the result in the
destination operand. The result has ones in
the bit positions in which either operand (but
not both) had a "1" and zeros in all other bit
positions.
(DEST)
Z
A-40
Table A-6. Instruction Set (Continued)
Operation
PSW Flag Settings
N
C
V
VT
ST
(SRC)
PSW Flag Settings
N
C
V
VT
ST
(SRC)
PSW Flag Settings
N
C
V
VT
ST
(DEST) XOR (SRC)
PSW Flag Settings
N
C
V
VT
ST
0
0
Instruction Format
TRAP
(11110111)
NOTE: This instruction is not supported
by
assemblers.
instruction is intended for use by
development tools. These tools
may not support user-application
of this instruction.
DEST, SRC
XCH
wreg, waop
(00000100) (waop) (wreg) direct
(00001011) (waop) (wreg) indexed
DEST, SRC
XCHB
breg, baop
(00010100) (baop) (breg) direct
(00011011) (baop) (breg) indexed
DEST, SRC
XOR
wreg, waop
(100001aa) (waop) (wreg)
The
TRAP

Advertisement

Table of Contents
loading

Table of Contents