Hitachi 6309


Hitachi 6309

The 6309 is Hitachi's CMOS version of the Motorola 6809 microprocessor. While in "Emulation Mode" it is fully compatible with the 6809. To the 6809 specifications it adds higher clock rates, enhanced features, new instructions, and additional registers. Most new instructions were added to support the additional registers, as well as up to 32-bit math, hardware division, bit manipulations, and block transfers. The 6309 is generally 30% faster in native mode than the 6809.

Surprisingly, this information was never published by Hitachi. The April 1988 issue of "Oh! FM", a Japanese magazine for Fujitsu personal computer users, contained the first description of the 6309's additional capabilities. Later, Hirotsugu Kakugawa posted details of the 6309's new features and instructions to comp.sys.m6809. This led to the development of [http://sourceforge.net/projects/nitros9/ NitrOS9] for the Tandy Color Computer 3.

Programming Model

Differences from the Motorola 6809

The 6309 differs from the 6809 in several key areas.

Process Technology

The 6309 is fabricated in CMOS technology, while the 6809 is an NMOS device. As a result, the 6309 requires less power to operate than the 6809. It is also a fully static device, which will not lose internal state information. This means it can be used with external DMA without needing refresh every 14 cycles as the 6809 does.

Clock Speed

The 6309 has B (2 MHz) versions as the 6809 does. However, a "C" speed rating was produced with either a 3.0 or 3.5 MHz maximum clock rate, depending on which datasheet is referenced. (Several Japanese computers had 63C09 CPUs clocked at 3.58 MHz, the NTSC colorburst frequency, so the 3.5 rating seems most likely). Anecdotal and individual reports indicate that the 63C09 variant can be clocked at 5 MHz with no ill effects. Like the 6809, the Hitachi CPU comes in both internal and external clock versions (HD63B/C09 and HD63B/C09E respectively)

Computational Efficiency

When switched into 6309 Native Mode (as opposed to the default 6809-compatible mode) many key instructions will complete in fewer clock cycles. This often improves execution speeds by up to 30%.

Additional Registers

*There are two additional 8-bit accumulators, E and F. These can be concatenated to form a 16-bit accumulator called W. The existing 6809 16-bit accumulator, D, can also be concatenated with W to form a 32-bit accumulator Q. (Presumably standing for "Quad").
*A "Transfer register", V, which is only accessible via inter-register instructions. Its value is not cleared during a hardware reset, so it can maintain a constant 'Value', hence "V".
*An 8/16-bit Zero register, called 0, is provided for speeding up operations where a zero constant is used. This register always returns a zero value, and writing to it has no effect.
*A new mode register, MD, which controls the 6309's operating mode and operates as a secondary condition code. Only 4 bits of this register are defined.

Additional Instructions

Most of the new instructions are modifications of existing instructions to handle the existence of the additional registers, such as load, store, add, and the like. Genuine 6309 additions include inter-register arithmetic, block transfers, hardware division, and bit-level manipulations.

Despite the user-friendliness of the additional instructions, analysis by 6809 programming gurus indicates that many of the new instructions are actually slower than the equivalent 6809 code, especially in tight loops. Careful analysis should be done to ensure that the programmer uses the most efficient code for the particular application.

Additional Hardware Features

It is possible to change the mode of operation for the FIRQ interrupt. Instead of stacking the PC and CC registers (normal 6809 behavior) the FIRQ interrupt can be set to stack the entire register set, as the IRQ interrupt does. In addition, The 6309 has two possible trap modes, one for an illegal instruction fetch and one for division by zero. The illegal instruction fetch is not maskable, and many TRS-80 Color Computer users reported that their 6309's were "buggy" when in reality it was an indicator of enhanced and unknown features.

Notes and references

External links

* [http://groups.google.com/group/comp.sys.m6809/browse_thread/thread/c710a832efe0c80e/8d150d97d185e5fb?q=Hirotsugu+Kakugawa Hirotsugu Kakugawa's original "Secret 6309 features memo" and thread on Google's Usenet archive]

* [http://www.concentric.net/~Alxevans/6309/index.html HD63B09EP Technical Reference Guide]

* [http://www.lomont.org/Software/Misc/CoCo/Lomont_6809.pdf Instruction set reference for 6809/6309 (PDF)] By Chris Lomont


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Hitachi Maxell — Hitachi Maxell, Ltd. 日立マクセル株式会社 Type Private Industry Electronics Founded Osaka Prefecture, Japan (November 7, 1947 …   Wikipedia

  • Hitachi TrueCopy — Hitachi TrueCopy, formerly known as Hitachi Open Remote Copy (HORC) or Hitachi Remote Copy (HRC) or Hitachi Asynchronous Remote Copy (HARC), is a remote mirroring feature from Hitachi storage arrays available for both open systems and IBM z/OS.… …   Wikipedia

  • Hitachi Cable — Hitachi Cable, Ltd. 日立電線株式会社 Type Public kabushiki gaisha Traded as TYO: 5812 Industry Manufacturing (non ferros metal) Predecessor Hitachi, Ltd …   Wikipedia

  • Hitachi — For other uses, see Hitachi (disambiguation). Hitachi, Ltd. 株式会社日立製作所 Type Public Kabushiki gaisha Traded as TYO …   Wikipedia

  • Hitachi Deskstar — The Deskstar is the name of a product line of computer hard drives. It was originally announced by IBM in October 1994.[1] The line was continued by Hitachi when in 2003 it bought IBM s hard drive division and renamed it Hitachi Global Storage… …   Wikipedia

  • Motorola 6809 — 1 MHz Motorola 6809P processor, manufactured in 1983. The Motorola 6809 is an 8 bit (with some 16 bit features) microprocessor CPU from Motorola, designed by Terry Ritter and Joel Boney and introduced 1978. It was a major advance over both its… …   Wikipedia

  • Motorola 6809 — <<   Motorola 6809   >> Центральный процессор Процессор Motorola 6809E с рабочей частотой 1 МГц, выпущен в 1983 году …   Википедия

  • Microdrive — For other uses, see Microdrive (disambiguation). IBM 1 GB Microdrive Microdrive (MD) is a brand name for a miniature, 1 inch hard disk designed to fit in a CompactFlash (CF) Type II slot. The release of similar drives by other makers has led to… …   Wikipedia

  • D-VHS — Media type Magnetic tape Read mechanism Helical scan Write mechanism Helical scan …   Wikipedia

  • Namihei Odaira — (小平浪平, 1874 – 1951) was a Japanese entrepreneur and philanthropist who founded what is now known as Hitachi Ltd. Odaira was born in Tochigi Prefecture, about 100 km from Tokyo, Japan. In 1900, he graduated from the electrical engineering… …   Wikipedia


Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.