<s>
The	O
Mitsubishi	B-General_Concept
740	I-General_Concept
,	O
also	O
known	O
as	O
MELPS	O
740	O
,	O
is	O
a	O
series	O
of	O
8-bit	O
CMOS	B-Device
microcontrollers	B-Architecture
and	O
microprocessors	B-Architecture
with	O
an	O
enhanced	O
MOS	B-General_Concept
Technology	I-General_Concept
6502	I-General_Concept
compatible	O
core	O
based	O
on	O
the	O
expanded	O
WDC	B-General_Concept
65C02	I-General_Concept
.	O
</s>
<s>
The	O
740	O
family	O
was	O
primarily	O
intended	O
for	O
single-chip	O
implementations	O
,	O
and	O
included	O
optional	O
RAM	B-Architecture
and	O
ROM	B-Device
or	O
EPROM	B-General_Concept
on-die	O
.	O
</s>
<s>
The	O
740	O
family	O
is	O
now	O
properly	O
known	O
as	O
the	O
Renesas	B-General_Concept
740	I-General_Concept
.	O
</s>
<s>
In	O
1984	O
,	O
the	O
first	O
740-series	O
part	O
,	O
M50740	O
,	O
appeared	O
in	O
the	O
1984	O
Mitsubishi	O
Single-Chip	O
Microcontroller	B-Architecture
Databook	O
,	O
and	O
was	O
manufactured	O
by	O
Mitsubishi	O
Electric	O
.	O
</s>
<s>
The	O
companies	O
said	O
they	O
would	O
both	O
move	O
their	O
respective	O
semiconductor	O
operations	O
to	O
Renesas	O
,	O
including	O
microcomputer	O
,	O
logic	O
,	O
analog	O
,	O
discrete	O
devices	O
,	O
and	O
memory	B-General_Concept
(	O
flash	O
memory	B-General_Concept
,	O
SRAM	O
,	O
etc	O
.	O
)	O
</s>
<s>
Though	O
legacy	O
Mitsubishi	O
parts	O
are	O
no	O
longer	O
manufactured	O
,	O
the	O
740	O
instruction	O
set	O
is	O
still	O
alive	O
in	O
newer	O
Renesas	O
microcontroller	B-Architecture
series	O
,	O
such	O
as	O
38000/740	B-General_Concept
series	O
and	O
7200	O
series	O
.	O
</s>
<s>
The	O
Mitsubishi	B-General_Concept
740	I-General_Concept
family	O
has	O
a	O
processor	O
core	O
that	O
executes	O
a	O
superset	O
of	O
the	O
6502	B-General_Concept
instruction	O
set	O
including	O
many	O
of	O
the	O
extensions	O
added	O
in	O
the	O
65C02	B-General_Concept
.	O
</s>
<s>
The	O
major	O
change	O
in	O
the	O
740	O
family	O
compared	O
to	O
the	O
65C02	B-General_Concept
is	O
the	O
addition	O
of	O
a	O
new	O
processor	B-General_Concept
status	I-General_Concept
flag	I-General_Concept
,	O
T	O
,	O
in	O
the	O
formerly	O
unused	O
bit	O
6	O
.	O
</s>
<s>
When	O
T	O
is	O
set	O
(	O
to	O
1	O
)	O
,	O
the	O
X	O
register	O
acted	O
as	O
a	O
zero	B-General_Concept
page	I-General_Concept
address	O
for	O
the	O
second	O
operand	O
for	O
instructions	O
using	O
zero	B-General_Concept
page	I-General_Concept
addressing	O
.	O
</s>
<s>
This	O
allowed	O
the	O
program	O
to	O
select	O
a	O
location	O
in	O
the	O
zero	B-General_Concept
page	I-General_Concept
to	O
act	O
as	O
a	O
sort	O
of	O
second	O
accumulator	O
,	O
setting	O
the	O
X	O
register	O
to	O
point	O
to	O
it	O
,	O
and	O
then	O
removing	O
that	O
address	O
from	O
the	O
instruction	O
format	O
.	O
</s>
<s>
For	O
instance	O
,	O
in	O
the	O
6502	B-General_Concept
an	O
ADC	O
addr	O
adds	O
the	O
contents	O
of	O
a	O
zero-page	O
memory	B-General_Concept
location	O
at	O
addr	O
to	O
the	O
value	O
in	O
the	O
accumulator	O
.	O
</s>
<s>
This	O
improves	O
code	O
density	O
and	O
avoids	O
the	O
memory	B-General_Concept
cycle	I-General_Concept
needed	O
to	O
read	O
the	O
address	O
.	O
</s>
<s>
In	O
most	O
members	O
of	O
the	O
740	O
family	O
,	O
addresses	O
through	O
of	O
the	O
zero	B-General_Concept
page	I-General_Concept
are	O
set	O
aside	O
as	O
the	O
"	O
Special	O
Function	O
Registers	O
"	O
,	O
or	O
SFR	O
.	O
</s>
<s>
When	O
the	O
SPSB	O
is	O
clear	O
(	O
set	O
to	O
0	O
)	O
,	O
the	O
stack	O
is	O
relocated	O
to	O
the	O
zero	B-General_Concept
page	I-General_Concept
instead	O
of	O
its	O
normal	O
location	O
in	O
page	O
one	O
.	O
</s>
<s>
As	O
most	O
members	O
of	O
the	O
740	O
family	O
have	O
the	O
zero	B-General_Concept
page	I-General_Concept
implemented	O
on-die	O
(	O
instead	O
of	O
in	O
external	O
RAM	B-Architecture
)	O
,	O
using	O
the	O
SPSB	O
allows	O
programs	O
to	O
have	O
a	O
working	O
system	O
entirely	O
in	O
a	O
single	O
chip	O
,	O
with	O
appropriate	O
ROMs	O
.	O
</s>
<s>
Many	O
members	O
of	O
the	O
740	O
family	O
include	O
on-die	O
ROM	B-Device
or	O
EPROM	B-General_Concept
as	O
well	O
,	O
allowing	O
for	O
complete	O
single-chip	O
implementations	O
of	O
small	O
programs	O
like	O
device	B-Application
drivers	I-Application
.	O
</s>
<s>
BBC	O
-	O
Branch	O
Bits	O
Clear	O
-	O
Branches	O
when	O
the	O
contents	O
of	O
the	O
bit	O
specified	O
in	O
the	O
accumulator	O
or	O
memory	B-General_Concept
are	O
clear	O
(	O
0	O
)	O
.	O
</s>
<s>
BBS	O
-	O
Branch	O
Bits	O
Set	O
-	O
Branches	O
when	O
the	O
contents	O
of	O
the	O
bit	O
specified	O
in	O
the	O
accumulator	O
or	O
memory	B-General_Concept
are	O
set	O
(	O
1	O
)	O
.	O
</s>
<s>
CLB	O
-	O
Clear	O
Bits	O
-	O
Clear	O
the	O
contents	O
of	O
the	O
bit	O
specified	O
in	O
the	O
accumulator	O
or	O
memory	B-General_Concept
to	O
zero	O
(	O
0	O
)	O
.	O
</s>
<s>
DEC	O
-	O
Decrement	O
-	O
Decrement	O
the	O
contents	O
of	O
accumulator	O
(	O
6502	B-General_Concept
was	O
X	O
and	O
Y	O
or	O
memory	B-General_Concept
only	O
)	O
.	O
</s>
<s>
INC	O
-	O
Increment	O
-	O
Increment	O
the	O
contents	O
of	O
accumulator	O
or	O
memory	B-General_Concept
by	O
one	O
.	O
</s>
<s>
SEB	O
-	O
Set	O
Bits	O
-	O
Set	O
the	O
specified	O
bit	O
contents	O
of	O
accumulator	O
or	O
memory	B-General_Concept
to	O
one	O
.	O
</s>
<s>
COM	O
-	O
Complement	O
-	O
One	O
's	O
complement	O
(	O
1	O
's	O
)	O
of	O
contents	O
of	O
memory	B-General_Concept
and	O
store	O
it	O
into	O
memory	B-General_Concept
.	O
</s>
<s>
RRF	O
-	O
Rotate	O
Right	O
4	O
-	O
Rotate	O
the	O
contents	O
of	O
memory	B-General_Concept
to	O
the	O
right	O
by	O
4	O
bits	O
.	O
</s>
<s>
TST	O
-	O
Test	O
-	O
Tests	O
whether	O
the	O
contents	O
of	O
a	O
memory	B-General_Concept
location	O
is	O
zero	O
or	O
not	O
.	O
</s>
<s>
LDM	O
-	O
Load	O
Memory	B-General_Concept
-	O
Load	O
memory	B-General_Concept
with	O
immediate	O
value	O
.	O
</s>
<s>
The	O
W65C02	O
(	O
as	O
opposed	O
to	O
the	O
original	O
65C02	B-General_Concept
)	O
added	O
several	O
new	O
instructions	O
originally	O
designed	O
by	O
Rockwell	O
Semiconductor	O
.	O
</s>
<s>
These	O
included	O
instructions	O
to	O
set	O
or	O
clear	O
(	O
which	O
they	O
referred	O
to	O
as	O
"	O
reset	O
"	O
,	O
not	O
"	O
clear	O
"	O
)	O
single	O
bits	O
in	O
memory	B-General_Concept
,	O
as	O
well	O
as	O
instructions	O
to	O
branch	O
if	O
those	O
bits	O
were	O
set	O
or	O
clear	O
.	O
</s>
<s>
Additionally	O
,	O
the	O
original	O
65C02	B-General_Concept
's	O
STZ	O
single-instruction	O
STore	O
Zero	O
was	O
not	O
retained	O
,	O
but	O
this	O
functionality	O
was	O
partially	O
replaced	O
by	O
LDM	O
.	O
</s>
<s>
Widely	O
used	O
by	O
device	B-Application
drivers	I-Application
,	O
which	O
are	O
generally	O
interrupt	O
driven	O
.	O
</s>
<s>
MUL	O
( $62	O
)	O
-	O
Multiply	O
8-bit	O
x	O
8-bit	O
-	O
Multiplies	O
accumulator	O
with	O
the	O
memory	B-General_Concept
specified	O
by	O
the	O
zero	B-General_Concept
page	I-General_Concept
X	O
addressing	O
mode	O
and	O
stores	O
the	O
high	O
byte	O
of	O
the	O
result	O
on	O
the	O
stack	O
and	O
the	O
low	O
byte	O
in	O
the	O
accumulator	O
.	O
</s>
<s>
DIV	O
( $E2	O
)	O
-	O
Divide	O
16-bit	B-Device
/	O
8-bit	O
-	O
Divides	O
by	O
accumulator	O
the	O
16-bit	B-Device
data	O
that	O
is	O
the	O
contents	O
of	O
M( zz+x+1	O
)	O
for	O
high	O
byte	O
and	O
the	O
contents	O
of	O
the	O
next	O
address	B-General_Concept
memory	I-General_Concept
for	O
low	O
byte	O
,	O
and	O
stores	O
the	O
quotient	O
in	O
the	O
accumulator	O
and	O
the	O
remainder	O
on	O
the	O
stack	O
as	O
one	O
's	O
complement	O
.	O
</s>
<s>
These	O
parts	O
do	O
n't	O
have	O
any	O
internal	O
EEPROM	O
or	O
ROM	B-Device
,	O
thus	O
require	O
an	O
external	O
EEPROM	O
or	O
ROM	B-Device
to	O
hold	O
the	O
firmware	O
.	O
</s>
<s>
These	O
parts	O
have	O
pins	O
on	O
the	O
top	O
of	O
the	O
package	B-Algorithm
to	O
allow	O
an	O
EPROM	B-General_Concept
to	O
be	O
plugged	O
into	O
it	O
.	O
</s>
<s>
These	O
parts	O
have	O
internal	O
EPROM	B-General_Concept
memory	B-General_Concept
.	O
</s>
<s>
They	O
are	O
available	O
as	O
either	O
as	O
OTP	O
(	O
one-time	O
programmable	O
)	O
EPROM	B-General_Concept
or	O
Eraseable	O
Window	O
EPROM	B-General_Concept
.	O
</s>
<s>
The	O
M50734	B-General_Concept
is	O
a	O
ROM/RAM	O
-less	O
device	B-Application
includes	O
peripherals	O
such	O
as	O
UART	O
,	O
Serial	B-Protocol
I/O	I-Protocol
,	O
A/D	O
,	O
Watchdog	B-Application
timer	I-Application
,	O
VCU	O
,	O
32	O
parallel	O
I/O	O
ports	O
.	O
</s>
<s>
A	O
choice	O
of	O
8	O
and	O
16-bit	B-Device
timers	O
to	O
manage	O
real	O
time	O
tasks	O
.	O
</s>
<s>
Its	O
instruction	O
set	O
is	O
a	O
superset	O
of	O
the	O
6502	B-General_Concept
microprocessor	I-General_Concept
.	O
</s>
<s>
The	O
M50734SP/FP	O
and	O
the	O
M50734SP/FP	O
-10	O
are	O
unique	O
CMOS	B-Device
LSI	O
microprocessor	B-Architecture
with	O
UART	O
,	O
clocked	O
serial	B-Protocol
I/O	I-Protocol
,	O
analog-to-digital	O
converter	O
,	O
VCU	O
,	O
watchdog	B-Application
timer	I-Application
and	O
32-bit	O
parallel	O
I/O	O
arranged	O
around	O
the	O
M5040	O
CPU	O
core	O
.	O
</s>
<s>
Since	O
the	O
M50734	B-General_Concept
has	O
multiple	O
internal	O
timers	O
for	O
real-time	B-General_Concept
control	I-General_Concept
,	O
it	O
is	O
ideal	O
for	O
controlling	O
office	O
automation	B-Application
equipment	O
such	O
as	O
printers	O
,	O
typewriters	O
,	O
plotters	O
,	O
copy	O
machines	O
,	O
FAX	O
and	O
handy	O
word	B-General_Concept
processors	I-General_Concept
.	O
</s>
<s>
Use	O
of	O
the	O
CMOS	B-Device
process	I-Device
enables	O
low	O
power	O
consumption	O
,	O
making	O
the	O
M50734SP	B-General_Concept
also	O
suitable	O
for	O
applications	O
where	O
battery-powered	O
operation	O
is	O
required	O
.	O
</s>
<s>
The	O
difference	O
between	O
the	O
M50734SP	B-General_Concept
and	O
the	O
M50734FP	O
,	O
or	O
between	O
the	O
M50734SP-10	O
and	O
the	O
M50734FP-10	O
lies	O
only	O
in	O
the	O
package	B-Algorithm
.	O
</s>
<s>
The	O
difference	O
between	O
the	O
M50734SP/FP	O
and	O
the	O
M50734SP/FP	O
-10	O
lies	O
only	O
in	O
the	O
maximum	O
clock	O
frequency	O
.	O
</s>
