Mitsubishi 740
The Mitsubishi 740, also known as MELPS 740, is a series of 8-bit CMOS microcontrollers and microprocessors with an enhanced MOS Technology 6502 compatible core based on the expanded WDC 65C02. The ICs were manufactured by Mitsubishi Electric during the 1980s and 1990s. The 740 family was primarily intended for single-chip implementations, and included optional RAM and ROM or EPROM 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 to produce Renesas Electronics. 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", 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 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. 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 reached a basic agreement to merge, and on April 1, 2010 the two merged into Renesas Electronics. 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 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 codice_1 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, codice_2. 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 codice_3 and codice_4 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. Missing instructions. The W65C02 (as opposed to the original 65C02) added several new instructions originally designed by Rockwell Semiconductor. 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 codice_5 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. The following instructions  are not available in M50752, M50757, M50758 parts. Multiply/Divide instructions. The following instructions are available in M37450 parts. Oscillator instructions. The following instructions are available in M50740A, M50740ASP, M50741, M50752, M50757, M50758 parts. These parts don't have any internal EEPROM or ROM, thus require an external EEPROM or ROM to hold the firmware. 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. These parts have internal EPROM memory. They are available as either as OTP (one-time programmable ) EPROM or Eraseable Window EPROM. Part groups. Commercial temperature: Extended temperature: Parts. M50734. The M50734 is a ROM/RAM-less device includes peripherals such as UART, Serial I/O, A/D, Watchdog timer, VCU, 32 parallel I/O ports. A choice of 8 and 16-bit timers to manage real time tasks. Its instruction set is a superset of the 6502 microprocessor. Incorporated into this particular IC are the following: The M50734SP/FP and the M50734SP/FP-10 are unique CMOS LSI microprocessor with UART, clocked serial I/O, analog-to-digital converter, VCU, watchdog timer and 32-bit parallel I /O arranged around the M5040 CPU core. Since the M50734 has multiple internal timers for real-time control, it is ideal for controlling office automation equipment such as printers, typewriters, plotters, copy machines, FAX and handy word processors. Use of the CMOS process enables low power consumption, making the M50734SP also suitable for applications where battery-powered 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. Other vendors. In  the 1990s a clone of the M50959 was manufactured in Russia with the designation KF1869VE1 ().