INSTRUCTION SET
MOVX @Rr,A Move Accumulator Contents
to
External Data Memory
11
00
1 1
00
0 r 1 (Not in 8021, 8022)
This is a 2-cycle instruction. The contents
of
the
accumulator are moved
to
the external data memory
location addressed by register 'r'. Register 'r'
contents are unaffected.
((Rr))--
A
r=0-1
Example: Assume
RO
contains 11000111.
MXDMA:
MOVX
@RO,A
;MOVE CONTENTS OF
ACC
TO
;LOCATION
199 IN EXPANDED
;DATA MEMORY
NOP
The
NOP
Instruction
1000010000
I
No operation is performed. Execution continues with
the
following instruction.
ORL A,R
r
Logical OR Accumulator With Register Mask
101001
1rrr
i
Data in the accumulator is
logically
ORed with the
mask contained in working register 'r'.
r=Q-7
(A)--
(A) OR (Rr)
Example: ORREG: ORL A,R4
;'OR' ACC CONTENTS WITH
;MASK IN
REG
4
ORL A,@R
r
Logical OR Accumulator With Memory Mask
10
100
1000rl
Data in the accumulator is
logically
ORed with the mask
contained in the resident data memory
location referenced by
register 'r', bits 0-5*
(A)
--
(A) OR ((Rr))
Example: ORDM: MOV
RO,#3FH
ORL
A,@RO
r=0-1
;MOVE '3F' HEX TO REG 0
;'OR' ACC CONTENTS WITH MASK
;IN LOCATION
63
ORL A,#data Logical
OFJ
Accumulator With Immediate Mask
1 0 1 0 0 1 0 0 1 1 1 I
d7
dB
ds
d4
I
d3
d2
d1
do
I
This is a 2-cycle instruction. Data in the accumulator
is logically ORed with an immediately-specified mask.
(A)--
(A) OR data
Example: ORID: ORL A,#'X'
Mnemonics
copyright
Intel Corporation 1976.
4-27
;'OR' ACC CONTENTS WITH MASK
;01011000 (ASCII
VALUE OF 'X')
'0-6
for
8039/8049