And - Intel MCS48 User Manual

Family of single chip microcomputers
Hide thumbs Also See for MCS48:
Table of Contents

Advertisement

8041 A/8741
A
PIN
DESCRIPTION
Signal
Description
UPI
INSTRUCTION SET
Mnemonic
Description
Bytes Cycles
D -D
7
Three-state, bidirectional
DATA BUS BUFFER
lines
used
to interface
the
UPI-41A
to
an
8-bit
master
system
data
bus.
p
io
_p
i7
8
-
bit
>
PORT
1
quasi-bidirectional
I/O lines.
Pon~Po
WR
RD
CS
Ao
X^
X
2
SYNC
EA
PROG
RESET
SS
8-bit,
PORT
2 quasi-bidirectional
I/O lines.
The
lower
4
bits (P20-P23)
interface
directly to
the
8243
I/O
ex-
pander
device
and
contain
address and data
infor-
mation
during
PORT
4-7 access.
The
upper
4
bits
(P24-P27)
can be
programmed
to
provide
Interrupt
Request and
DMA
Handshake
capability.
Software
control
can
configure P
24
as
OBF
(Output
Buffer
Full),
P
25
as
IBF
(Input
Buffer
Full
),
P
26
a
s
DRQ
(DMA
Request),
and
P
27
as
DACK
(DMA
ACKnowledge).
I/O
write input
which enables
the
master
CPU
to
write
data
and
command
words
to
the
UPI-41A
IN-
PUT DATA BUS BUFFER.
I/O
read input
which enables
the
master
CPU
to
read
data
and
status
words
from
the
OUTPUT DATA
BUS BUFFER
or status
register.
Chip
select input
used
to
select
one
UPI-41A
out
of
several
connected
to
a
common
data
bus.
Address
input
used
by the
master processor
to
in-
dicate
whether
byte
transfer
is
data
or
command.
Input pins
which can be
directly
tested using condi-
tional
branch
instructions.
T,
also functions
as the event timer
input
(under
software
control).
T
is
used
during
PROM
program-
ming and
verification
in
the
8741A.
Inputs
for
a
crystal,
LC
or
an
external
timing
signal
to
determine
the
internal oscillator
frequency.
Output
signal
which occurs once
per
UPI-41A
in-
struction
cycle.
SYNC
can be used as
a
strobe
for
external
circuitry;
it
is
also
used
to
synchronize
single
step
operation.
External
access
input
which
allows emulation,
testing
and
PROM/ROM
verification.
Multifunction
pin
used
as
the
program
pulse
input
during
PROM
programming.
During
I/O
expander access
the
PROG
pin
acts
as
an address/data
strobe
to
the 8243.
Input
used
to reset
status
flip-flops
and
to set
the
program
counter
to zero.
RESET
is
also
used
during
PROM
programming and
verification.
Single step
input
used
in
the
8741A
in
conjunction
with the
SYNC
output
to
step the
program
through
each
instruction.
+
5V power
supply
pin.
+ 5V
during normal
operation.
Programming
supply
pin
during
PROM
programming.
Low
power
standby
pin
in
ROM
version.
Circuit
ground
potential.
ACCUMULATOR
ADD
A,Rr
Add
register to
A
ADD
A,@Rr
Add
data
memory
to
A
ADD
A.#data
Add
immediate
to
A
2
2
ADDC
A,Rr
Add
immed.
to
A
with carry
ADDC
A,@Rr
Add
immed.
to
A
with carry
ADDC
A.#data
Add
immed.
to
A
with carry
2
2
ANL
A,Rr
AND
register to
A
ANL
A,@Rr
AND
data
memory
to
A
ANL
A,#data
AND
immediate
to
A
2
2
ORL
A,Rr
OR
register
to
A
ORL A.@Rr
OR
data
memory
to
A
ORL
A.#data
OR
immediate
to
A
2
2
XRL
A.Rr
Exclusive
OR
register to
A
XRL A.@Rr
Exclusive
OR
data
memory
to
A
XRL
A,#data
Exclusive
OR
immediate
to
A
2
2
INC
A
Increment
A
DEC A
Decrement
A
CLR
A
Clear
A
CPL A
Complement A
DA A
Decimal Adjust
A
SWAP
A
Swap
digits of
A
RLA
Rotate
A
left
RLCA
Rotate
A
left
through
carry
RR A
Rotate
A
right
RRC
A
Rotate
A
right
through
carry
INPUT/OUTPUT
IN
A,Pp
Input port
to
A
1
2
OUTL
Pp.A
Output
A
to
port
1
2
ANL
Pp.#data
AND
immediate
to
port
2
2
ORL
Ppidata
OR
immediate
to
port
2
2
IN
A.DBB
Input
DB8
to A,
clear IBF
1
1
OUT
DBB.A
Output
A
to
DBB,
set
OBF
1
1
MOVD
A,Pp
Input
Expander
port
to
A
1
2
MOVD
Pp.A
Output
A
to
Expander
port
1
2
ANLD
Pp.A
AND
A
to
Expander
port
1
2
ORLD
Pp.A
OR A
to
Expander
port
1
2
DATA
MOVES
MOV
A,Rr
Move
register
to
A
1
1
MOV
A,@Rr
Move
data
memory
to
A
1
1
MOV
A.#data
Move
immediate
to
A
2
2
MOV
Rr.A
Move
A
to
register
1
1
MOV
@Rr.A
Move A
to
data
memory
1
1
MOV
Rr.#data
Move
immediate
to register
2
2
MOV
@Rr,#data
Move
immediate
to
data
memory
2
2
MOV
A.PSW
Move
PSW
to
A
1
1
MOV
PSW.A
Move A
to
PSW
1
1
XCH
A,Rr
Exchange A and
register
1
1
XCH
A,@Rr
Exchange A and
data
memory
1
1
XCHD
A,@Rr
Exchange
digit of
A
and
register
1
1
MOVP
A,@A
Move
to
A
from
current
page
1
2
M0VP3,
A,@A
Move
to
A
from page
3
1
2
TIMER/COUNTER
MOV
A.T
Read Timer
/Counter
MOV
T,A
Load Timer/Counter
STRTT
Start
Timer
STRT CNT
Start
Counter
STOP TCNT
Stop Timer/Counter
EN
TCNTI
Enable Timer/Counter
Interrupt
OIS
TCNTI
Disable
Timer/Counter
Interrupt
8-115
00 188
A

Advertisement

Table of Contents
loading

Table of Contents