M50734
   HOME

TheInfoList



OR:

The Mitsubishi 740, also known as MELPS 740, is a series of 8-bit CMOS microcontrollers and
microprocessor A microprocessor is a computer processor where the data processing logic and control is included on a single integrated circuit, or a small number of integrated circuits. The microprocessor contains the arithmetic, logic, and control circ ...
s with an enhanced
MOS Technology 6502 The MOS Technology 6502 (typically pronounced "sixty-five-oh-two" or "six-five-oh-two") William Mensch and the moderator both pronounce the 6502 microprocessor as ''"sixty-five-oh-two"''. is an 8-bit microprocessor that was designed by a small te ...
compatible core based on the expanded
WDC 65C02 The Western Design Center (WDC) 65C02 microprocessor is an enhanced CMOS version of the popular nMOS-based 8-bit MOS Technology 6502. The 65C02 fixed several problems in the original 6502 and added some new instructions, but its main feature wa ...
. The ICs were manufactured by Mitsubishi Electric during the 1980s and 1990s.Single-Chip 8-Bit Microcontroller Databook; Mitsubishi; 1989.
/ref> The 740 family was primarily intended for single-chip implementations, and included optional
RAM Ram, ram, or RAM may refer to: Animals * A male sheep * Ram cichlid, a freshwater tropical fish People * Ram (given name) * Ram (surname) * Ram (director) (Ramsubramaniam), an Indian Tamil film director * RAM (musician) (born 1974), Dutch * ...
and
ROM Rom, or ROM may refer to: Biomechanics and medicine * Risk of mortality, a medical classification to estimate the likelihood of death for a patient * Rupture of membranes, a term used during pregnancy to describe a rupture of the amniotic sac * ...
or
EPROM An EPROM (rarely EROM), or erasable programmable read-only memory, is a type of programmable read-only memory (PROM) chip that retains its data when its power supply is switched off. Computer memory that can retrieve stored data after a power s ...
on-die. Other additions included a variety of optional timers, input/output lines, and many other features. It was estimated around 600 variations could be ordered. In 2002, Mitsubishi and Hitachi merged their chip divisions to form Renesas Technology, and then in 2010 with
NEC Electronics is a Japanese multinational information technology and electronics corporation, headquartered in Minato, Tokyo. The company was known as the Nippon Electric Company, Limited, before rebranding in 1983 as NEC. It provides IT and network solut ...
to produce
Renesas Electronics is a Japanese semiconductor manufacturer headquartered in Tokyo, Japan, initially incorporated in 2002 as Renesas Technology, the consolidated entity of the semiconductor units of Hitachi and Mitsubishi excluding their dynamic random-access ...
. The 740 family is now properly known as the Renesas 740.


History

In 1984, the first 740-series part, M50740, appeared in the ''1984 Mitsubishi Single-Chip Microcontroller Databook'',Single-Chip Microcontroller Databook; Mitsubishi; 1984.
/ref> and was manufactured by Mitsubishi Electric. Further research is needed to determine the exact date the M50740 was announced. In 1998, it was reported in EDN magazine, that MELPS 740 family had more than 600 different variations. In 2002, Mitsubishi Electric and Hitachi agreed to merge their chip operations into a new $7 billion
semiconductor A semiconductor is a material which has an electrical conductivity value falling between that of a conductor, such as copper, and an insulator, such as glass. Its resistivity falls as its temperature rises; metals behave in the opposite way. ...
company to be called Renesas Technology. The companies said they would both move their respective semiconductor operations to Renesas, including microcomputer, logic, analog, discrete devices, and memory ( flash memory, SRAM, etc.) with the exception of DRAMs.Mitsubishi and Hitachi to merge chip businesses; EE Times; October 3, 2002.
/ref> Renesas Technology was established on April 1, 2003, as a joint venture of Hitachi (55%) and Mitsubishi Electric (45%). In 2009, Renesas Technology and
NEC Electronics is a Japanese multinational information technology and electronics corporation, headquartered in Minato, Tokyo. The company was known as the Nippon Electric Company, Limited, before rebranding in 1983 as NEC. It provides IT and network solut ...
reached a basic agreement to merge, and on April 1, 2010 the two merged into
Renesas Electronics is a Japanese semiconductor manufacturer headquartered in Tokyo, Japan, initially incorporated in 2002 as Renesas Technology, the consolidated entity of the semiconductor units of Hitachi and Mitsubishi excluding their dynamic random-access ...
. Though legacy Mitsubishi parts are no longer manufactured, the 740 instruction set is still alive in newer Renesas microcontroller series, such as 38000/740 series and 7200 series.


Instruction Set

The Mitsubishi 740 family has a processor core that executes a superset of the 6502 instruction set including many of the extensions added in the 65C02. There is a core set of new instructions common across all 740 family members, plus other instructions that exist in specific parts. The major change in the 740 family compared to the 65C02 is the addition of a new processor status flag, T, in the formerly unused bit 6. When T is set (to 1), the X register acted as a
zero page The zero page or base page is the block of memory at the very beginning of a computer's address space; that is, the page whose starting address is zero. The size of a page depends on the context, and the significance of zero page memory versus h ...
address for the second operand for instructions using zero page addressing. This allowed the program to select a location in the zero page to act as a sort of second accumulator, setting the X register to point to it, and then removing that address from the instruction format. For instance, in the 6502 an ADC ''addr'' adds the contents of a zero-page memory location at ''addr'' to the value in the accumulator. Using T, this can be reduced to a single byte, ADC. This improves code density and avoids the memory cycle needed to read the address. The value in the T flag is set and cleared using the new SET and CLT instructions. In most members of the 740 family, addresses through of the zero page are set aside as the "Special Function Registers", or SFR. These are used to control various add-ons like built-in I/O ports or timers. Some members of the family also include the "Stack Page Selection Bit" (SPSB) within the SFR. When the SPSB is clear (set to 0), the stack is relocated to the zero page instead of its normal location in page one. As most members of the 740 family have the zero page implemented on-die (instead of in external RAM), using the SPSB allows programs to have a working system entirely in a single chip, with appropriate ROMs. Many members of the 740 family include on-die ROM or EPROM as well, allowing for complete single-chip implementations of small programs like device drivers. Since the stack grows downward from the top of the page, in this case, this requires the upper portion of page to be left otherwise unused to provide space for the stack.


Common instructions

The following is a list of new instructions and existing instructions with new modes in all 740 family parts. Some of these are from the W65C02, and others apply only to the 740 family.


W65C02 additions

* BBC - Branch Bits Clear - Branches when the contents of the bit specified in the accumulator or memory are clear (0). Known as BBR, Branch on Bit Reset, in Rockwell terminology. * BBS - Branch Bits Set - Branches when the contents of the bit specified in the accumulator or memory are set (1). * BRA - Branch Always - Jump to address where offset has been added to the program counter, +127,-128. * CLB - Clear Bits - Clear the contents of the bit specified in the accumulator or memory to zero (0). * DEC - Decrement - Decrement the contents of accumulator (6502 was X and Y or memory only). * INC - Increment - Increment the contents of accumulator or memory by one. * SEB - Set Bits - Set the specified bit contents of accumulator or memory to one.


740 family additions

* CLT - Clear T Flag - Clear the contents of X-modified arithmetic mode flag to zero. * COM - Complement -
Ones' complement The ones' complement of a binary number is the value obtained by inverting all the bits in the binary representation of the number (swapping 0s and 1s). The name "ones' complement" (''note this is possessive of the plural "ones", not of a sin ...
(1's) of contents of memory and store it into memory. * RRF - Rotate Right 4 - Rotate the contents of memory to the right by 4 bits. * SET - Set T flag - Set the contents of X-modified arithmetic mode flag to one. * TST - Test - Tests whether the contents of a memory location is zero or not. * LDM - Load Memory - Load memory with immediate value.


Missing instructions

The W65C02 (as opposed to the original 65C02) added several new instructions originally designed by
Rockwell Semiconductor Rockwell may refer to: Arts, entertainment, and media * ''Rockwell'' (album), a 2009 mini-album by Anni Rossi * Rockwell, a fictional town and setting of ''They Hunger'' * ''Rockwell'', a 1994 film about Porter Rockwell * Rockwell, Maine, a f ...
. These included instructions to set or clear (which they referred to as "reset", not "clear") single bits in memory, as well as instructions to branch if those bits were set or clear. These were retained in the 740 family. However, the W65C02 also included the test-and-set/reset instructions, which tested if the bit was set or clear, setting the Z flag appropriately, and then either setting or clearing that bit. These were useful for waiting on certain flags to appear and then resetting them before handling the flag. These instructions were not included in the 740. Additionally, the original 65C02's STZ single-instruction STore Zero was not retained, but this functionality was partially replaced by LDM. The W65C02 also added several new instructions for low-power operation. These may or may not be available on all members of the 740 series. The following instructions are not available in M50740A, M50740ASP, M50741, M50752, M50757, M50758 parts. * WIT ($C2) - Stops the internal clock until an interrupt is received. Called WAI in W65C02. Widely used by device drivers, which are generally interrupt driven. The following instructions are not available in M50752, M50757, M50758 parts. * STP ($42) - Stops the internal clock completely until a RESET is received.


Multiply/Divide instructions

The following instructions are available in M37450 parts. * MUL ($62) - Multiply 8-bit x 8-bit - Multiplies accumulator with the memory specified by the zero page X addressing mode and stores the high byte of the result on the stack and the low byte in the accumulator. * DIV ($E2) - Divide 16-bit / 8-bit - Divides by accumulator the 16-bit data that is the contents of M(zz+x+1) for high byte and the contents of the next address memory for low byte, and stores the quotient in the accumulator and the remainder on the stack as ones' complement.


Oscillator instructions

The following instructions are available in M50740A, M50740ASP, M50741, M50752, M50757, M50758 parts. * SLW ($C2) - Releases the connection between the oscillator output and pin Xoutf. * FST ($E2) - Connects oscillator output to Xoutf.


Part groups

;Parts with external EPROM / ROM These parts don't have any internal EEPROM or ROM, thus require an external EEPROM or ROM to hold the firmware. * M37450S * M50734 * M50740ASP ;Parts with external piggyback-EPROM These parts have pins on the top of the package to allow an EPROM to be plugged into it. These parts are expensive and primarily used during development purposes. * M37450PSS, M37450PFS. * M50740-PGYS, M50742-PGYS, M50743-PGYS, M50745-PGYS, M50752-PGYS, M50753-PGYS. * M50931-PGYS, M50941-PGYS, M50950-PGYS, M50955-PGYS, M50964-PGYS. ;Parts with internal EPROM These parts have internal
EPROM An EPROM (rarely EROM), or erasable programmable read-only memory, is a type of programmable read-only memory (PROM) chip that retains its data when its power supply is switched off. Computer memory that can retrieve stored data after a power s ...
memory. They are available as either as OTP (one-time programmable) EPROM or Eraseable Window EPROM. * M37410E, M37450E. * M50746E, M50747E. * M50944E, M50957E, M50963E. ;Parts with internal Mask-ROM Commercial temperature: * M37410M, M37415M, M37450M. * M50708, M50740, M50740A, M50741, M50742, M50743, M50744, M50745, M50746, M50747, M50747H, M50752, M50753, M50754, M50757, M50758. * M50930, M50931, M50932, M50940, M50941, M50943, M50944, M50950, M50951, M50954, M50955, M50957, M50959, M50963, M50964. Extended temperature: * M50744T, M50747T, M50753T. * M50930T.


Parts


M50734

The M50734 is a ROM/RAM-less device includes peripherals such as
UART A universal asynchronous receiver-transmitter (UART ) is a computer hardware device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least signific ...
, Serial I/O, A/D,
Watchdog timer A watchdog timer (sometimes called a ''computer operating properly'' or ''COP'' timer, or simply a ''watchdog'') is an electronic or software timer that is used to detect and recover from computer malfunctions. Watchdog timers are widely used in ...
, VCU, 32 parallel I/O ports. A choice of 8 and
16-bit 16-bit microcomputers are microcomputers that use 16-bit microprocessors. A 16-bit register can store 216 different values. The range of integer values that can be stored in 16 bits depends on the integer representation used. With the two mo ...
timers A timer is a specialized type of clock used for measuring specific time intervals. Timers can be categorized into two main types. The word "timer" is usually reserved for devices that counts down from a specified time interval, while devices th ...
to manage real time tasks. Its instruction set is a superset of the
6502 The MOS Technology 6502 (typically pronounced "sixty-five-oh-two" or "six-five-oh-two") William Mensch and the moderator both pronounce the 6502 microprocessor as ''"sixty-five-oh-two"''. is an 8-bit microprocessor that was designed by a small te ...
microprocessor A microprocessor is a computer processor where the data processing logic and control is included on a single integrated circuit, or a small number of integrated circuits. The microprocessor contains the arithmetic, logic, and control circ ...
. Incorporated into this particular IC are the following: * Enhanced
6502 The MOS Technology 6502 (typically pronounced "sixty-five-oh-two" or "six-five-oh-two") William Mensch and the moderator both pronounce the 6502 microprocessor as ''"sixty-five-oh-two"''. is an 8-bit microprocessor that was designed by a small te ...
processor * 24 digital I/O * 4 inputs to 8-bit
analog-to-digital converter In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a digital signal. An ADC may also provide ...
s * Universal asynchronous receiver/transmitter (UART) * High-speed interprocessor link * Power-down SLEEP mode * Extended
memory Memory is the faculty of the mind by which data or information is encoded, stored, and retrieved when needed. It is the retention of information over time for the purpose of influencing future action. If past events could not be remembered ...
addressing The M50734SP/FP and the M50734SP/FP-10 are unique CMOS LSI
microprocessor A microprocessor is a computer processor where the data processing logic and control is included on a single integrated circuit, or a small number of integrated circuits. The microprocessor contains the arithmetic, logic, and control circ ...
with
UART A universal asynchronous receiver-transmitter (UART ) is a computer hardware device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least signific ...
, clocked serial I/O,
analog-to-digital converter In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a digital signal. An ADC may also provide ...
, VCU,
watchdog timer A watchdog timer (sometimes called a ''computer operating properly'' or ''COP'' timer, or simply a ''watchdog'') is an electronic or software timer that is used to detect and recover from computer malfunctions. Watchdog timers are widely used in ...
and 32-bit parallel I/O arranged around the M5040 CPU core. Since the M50734 has multiple internal
timers A timer is a specialized type of clock used for measuring specific time intervals. Timers can be categorized into two main types. The word "timer" is usually reserved for devices that counts down from a specified time interval, while devices th ...
for real-time control, it is ideal for controlling office
automation Automation describes a wide range of technologies that reduce human intervention in processes, namely by predetermining decision criteria, subprocess relationships, and related actions, as well as embodying those predeterminations in machines ...
equipment such as printers,
typewriters A typewriter is a mechanical or electromechanical machine for typing characters. Typically, a typewriter has an array of keys, and each one causes a different single character to be produced on paper by striking an inked ribbon selectively ...
, plotters, copy machines, FAX and handy
word processors A word processor is an electronic device (later a computer software application) for text, composing, editing, formatting, and printing. The word processor was a stand-alone office machine in the 1960s, combining the keyboard text-entry and prin ...
. Use of the CMOS process enables low
power consumption Electric energy consumption is the form of energy consumption that uses electrical energy. Electric energy consumption is the actual energy demand made on existing electricity supply for transportation, residential, industrial, commercial, and ot ...
, making the M50734SP also suitable for applications where
battery-powered An electric battery is a source of electric power consisting of one or more electrochemical cells with external connections for powering electrical devices. When a battery is supplying power, its positive terminal is the cathode and its negat ...
operation is required. The difference between the M50734SP and the M50734FP, or between the M50734SP-10 and the M50734FP-10 lies only in the package. The difference between the M50734SP/FP and the M50734SP/FP-10 lies only in the maximum
clock frequency In computing, the clock rate or clock speed typically refers to the frequency at which the clock generator of a processor can generate pulses, which are used to synchronize the operations of its components, and is used as an indicator of the pr ...
.


Other vendors

In the 1990s a clone of the M50959 was manufactured in Russia with the designation KF1869VE1 (russian: КФ1869ВЕ1).


See also

* Interrupts in 6502 processors * List of 6502 assemblers * List of 6502 C compilers *
Megahertz myth The megahertz myth, or in more recent cases the gigahertz myth, refers to the misconception of only using clock rate (for example measured in megahertz or gigahertz) to compare the performance of different microprocessors. While clock rates are ...


References


Further reading

;8-bit processors
Mitsubishi Single-Chip Microcontroller Databook
1984; archive.org, M50740 datasheet (first chip of 740-family)
Mitsubishi Single-Chip 8-Bit Microcontroller Databook
1989; archive.org, numerous 740-family datasheets
Renesas 740 Software Manual
2006; renesas.com, 740-family instruction set
Renesas 3800 User Manual
1996; renesas.com
Renesas 38K2 User Manual
2003; renesas.com ;16-bit processors
Mitsubishi M37700 Software Manual
1989; archive.org
Mitsubishi Single-Chip 16-bit Microcomputer Databook
1990; archive.org


External links




C38 C Compiler for Mitsubishi 740
Byte Craft, supports 7600, M509xx, M371xx, M374xx, M38xxx. {{MOS CPU 65xx microprocessors Mitsubishi Electric products, services and standards Renesas microcontrollers