[Coco] 6809 Test and Set instruction?

Roger Merchberger zmerch-coco at 30below.com
Tue Jul 11 00:21:18 EDT 2006


Rumor has it that Allen Huffman may have mentioned these words:
>Does the 6809 have a test and set instruction?

Assuming I understand your question, yes.

TST
TSTA, opcode 4D
TSTB,    "   5D

The memory TST instruction works with these addressing modes:

Direct:    opcode 0D
Extended:    "   7D
Indexed/Indirect: 6D

HTH!
Roger "Merch" Merchberger

--
Roger "Merch" Merchberger   | Anarchy doesn't scale well. -- Me
zmerch at 30below.com.         |
SysAdmin, Iceberg Computers




More information about the Coco mailing list