Publish VCC Plus OSS source distribution for 3.6.2 build 60

This commit is contained in:
Brian Holman committed 2026-11-13 00:14:03 -07:00
commit c652a5276d
1192 files changed
+272368

No files matched your search

@@ -0,0 +1,5 @@
Except where otherwise identified, original artwork owned by Brian K. Holman is © 2026 Brian K. Holman. All rights reserved.
Permission is granted to use and redistribute this artwork unchanged with VCC Plus, including modified versions of its GPL-licensed software. Other reproduction, modification or redistribution requires prior written permission, except as permitted by applicable law. Third-party materials remain subject to their respective licenses and rights.
The CoCo 3 and CM-8 monitor presentation in VCC Plus’s skeuomorphic System view was inspired by SockMaster’s “pic of CoCo 3 and CM-8 monitor,” published on CoCopedia. VCC Plus’s artwork was designed and rendered independently. The remaining hardware illustrations were independently designed using historical photographs and renderings as references.
@@ -0,0 +1,5 @@
VCC Plus contributions © 2026 Brian K. Holman. Original VCC code and other third-party components remain copyrighted by their respective authors. VCC Plus is distributed under the GNU General Public License, version 3 or later, without warranty. See the included license and third-party notices.
Designed by Brian Holman. Sponsored by Dezota LLC.
Dezota and its logo are trademarks of Dezota LLC. Tandy, Motorola, Hitachi and other referenced names, logos and trademarks belong to their respective owners. Third-party marks identify the hardware and processor models represented by the emulator; their inclusion does not imply affiliation, sponsorship or endorsement. Neither Brian Holman nor Dezota LLC claims ownership of those third-party marks.
@@ -0,0 +1,3 @@
DriveWire was created by Boisy G. Pitre. The DriveWire networking extensions
were developed by Aaron Wolfe, Boisy Pitre, and Jim Hathaway. VCC Plus implements
outbound networking independently from the published DriveWire specification.
+674
View File
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
@@ -0,0 +1,3 @@
ROM images and other third-party software included in compiled distributions of VCC Plus remain the property of their respective copyright holders. The GPL license for VCC Plus does not grant rights to these materials; their use and redistribution remain subject to their applicable licenses and law. Neither Brian Holman nor Dezota LLC claims ownership of third-party ROMs.
If you own the copyright to a ROM included in a compiled distribution of VCC Plus, or are authorized to act on the owner’s behalf, and wish to request its removal, please contact [email protected]. Please identify the ROM and provide information supporting your ownership or authority so the request can be reviewed promptly.
@@ -0,0 +1,70 @@
Original VCC
Original VCC source and Windows About artwork retain their upstream copyright and licensing notices. The complete original Windows credits are included in About and in the Original Windows VCC notice. The GNU GPL version 3 is included in full; the project permits version 3 or later.
CoCo screen character shapes
Copyright 2015 Joseph Forgione. Derived from VCC’s cc2font.h and licensed under GPL-3.0-or-later, including character shapes reproduced in interface illustrations. These materials are not covered by the restriction on Brian Holman’s original artwork.
Third-party names, symbols and typography
The TANDY wordmark was adapted from “Tandy computer logo.svg” on Wikimedia Commons, identified there as public-domain text/logo artwork and trademarked. Motorola and Hitachi symbols retain their respective owners’ rights. The original-artwork notice does not claim exclusive rights in third-party marks or public-domain material.
Native interface symbols and typography use Apple SF Symbols and SF Pro. Hardware lettering includes outlines from Arial and Eurostile. These third-party materials retain their applicable rights and terms; no font binaries are distributed. Per-file provenance is retained in docs/media/ATTRIBUTION.md in the source repository. Processor badges use original frame artwork inspired by Intel Inside styling; Intel retains its marks, and the badge does not represent Intel hardware or certification.
Optional NitrOS-9 media
The optional NitrOS-9 L2 V3.3.0 image contains software by the NitrOS-9 project and other authors. Its EmuDsk driver credits Alan DeKok and its source carries a personal-use notice. The archive displays a development-build/not-for-distribution banner. Local HD1 preparation is not an official NitrOS-9 release. Neither the ROM notice nor the artwork notice grants permission to redistribute this third-party software; retained media notices continue to apply.
ToolShed filesystem libraries
The native Disk Image Editor uses an unchanged subset of ToolShed 2.6.1 by the ToolShed contributors, pinned to revision 3667a41c9605b7fcb150eace29cc7f42d460be1a. The official ToolShed SourceForge project listing identifies its license as Public Domain. Original source comments and notices are retained in the corresponding source snapshot; this statement does not replace file-specific notices.
The subset contains DECB and OS-9 RBF filesystem code, required disk-container/common routines and public headers. It contains no wxWidgets interface, ROMs or disk images. VCC Plus's separate native wrapper validates bounded, supported raw image layouts and operates on private working copies. The wrapper is part of VCC Plus under GPL-3.0-or-later; this does not relabel the public-domain ToolShed sources.
Upstream source: https://github.com/nitros9project/toolshed
Published license evidence: https://sourceforge.net/projects/toolshed/
Exact file provenance: third_party/manifests/toolshed.json in the VCC Plus source repository.
Speech/Sound emulation components
BSD 3-Clause License
SSC wiring and SP0256/TMS7000 portions are derived from MAME:
Copyright holders: Tim Lindner, Joseph Zbiciak, hap.
See the individual source headers for component provenance.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
Capital Quest manual screenshots
Book 12 includes published guest captures from Brian Holman's CoCoCapitalQuiz project:
https://vccplus-git.brianholman.com/VCCPlusApps/CoCoCapitalQuiz
The map shown in the question capture is adapted from © Fla-shop.com, licensed under Creative Commons Attribution 4.0 International:
https://www.fla-shop.com/svg/usa/
https://creativecommons.org/licenses/by/4.0/
The game adapts the SVG through scan conversion, state-region assignment, resolution reduction, simplified pixel boundaries, recoloring, run-length encoding and Northeast/Hawaii detail crops. Insets use different scales. These credits do not imply endorsement. The map retains its CC BY 4.0 terms; it is not covered by the separate notice for original VCC Plus artwork. The project preserves its source and adaptation credits in assets/CREDITS.md.
@@ -0,0 +1,13 @@
Copyright 2015 By Joseph Forgione
VCC (Virtual Color Computer) is free software: you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
VCC (Virtual Color Computer) is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with VCC (Virtual Color Computer). If not, see http://www.gnu.org/licenses/.
VCC Repository and Release Packages maintained by Bill Pierce and Ed Jaquay.
Adapted to Visual Studio by Gary Coulbourne and Wes Gale. Hitachi 6309 port by Walter Zambotti.
Bug fixes and Enhancements by Bill Pierce, James Ross, Peter Westberg, James Rye, EJ Jaquay, Mike Rojas, Trey Tomes and Craig Allsop.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.
Binary file not shown.
@@ -0,0 +1,315 @@
{
"sourceSHA256": "a555c419b539d5ba783ab5f66f0662926caee58c1635a080dddb45ebebd82174",
"entries": [
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "*PRAGMAPOP", "operation": "Restore saved pragma settings.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "*PRAGMAPOP"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "*PRAGMAPUSH", "operation": "Save pragma settings on the assembler’s pragma stack.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "*PRAGMAPUSH"},
{"category": "Registers & Flags", "name": "A", "operation": "Eight-bit accumulator. A forms the high byte of D.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Instructions", "flags": "CC is preserved.", "form": "inherent", "name": "ABX", "operation": "Add the unsigned byte in B to X.", "sources": ["Atkinson (2009), pp. 4", "Motorola (1981), Appendix A, ABX", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H records carry from bit 3.", "form": "value", "name": "ADCA", "operation": "Add the operand and incoming carry to A. Keep the low 8 bits in A.", "sources": ["Atkinson (2009), pp. 5", "Motorola (1981), Appendix A, ADCA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H records carry from bit 3.", "form": "value", "name": "ADCB", "operation": "Add the operand and incoming carry to B. Keep the low 8 bits in B.", "sources": ["Atkinson (2009), pp. 5", "Motorola (1981), Appendix A, ADCB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H is preserved.", "form": "value", "hd6309": true, "name": "ADCD", "operation": "Add the operand and incoming carry to D. Keep the low 16 bits in D.", "sources": ["Atkinson (2009), pp. 6", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "The destination selects the width. A word source supplies its low byte to a byte destination. For a word destination A/B supply D, E/F supply W, CC is zero-extended and DP supplies the high byte. PC is undefined in this family. See Atkinson, p. 143.", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry.", "form": "pair", "hd6309": true, "name": "ADCR", "operation": "Add source and carry to destination.", "sources": ["Atkinson (2009), pp. 7", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H records carry from bit 3.", "form": "value", "name": "ADDA", "operation": "Add the operand to A. Keep the low 8 bits in A.", "sources": ["Atkinson (2009), pp. 8", "Motorola (1981), Appendix A, ADDA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H records carry from bit 3.", "form": "value", "name": "ADDB", "operation": "Add the operand to B. Keep the low 8 bits in B.", "sources": ["Atkinson (2009), pp. 8", "Motorola (1981), Appendix A, ADDB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H is preserved.", "form": "value", "name": "ADDD", "operation": "Add the operand to D. Keep the low 16 bits in D.", "sources": ["Atkinson (2009), pp. 9", "Motorola (1981), Appendix A, ADDD", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H records carry from bit 3.", "form": "value", "hd6309": true, "name": "ADDE", "operation": "Add the operand to E. Keep the low 8 bits in E.", "sources": ["Atkinson (2009), pp. 8", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H records carry from bit 3.", "form": "value", "hd6309": true, "name": "ADDF", "operation": "Add the operand to F. Keep the low 8 bits in F.", "sources": ["Atkinson (2009), pp. 8", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "The destination selects the width. A word source supplies its low byte to a byte destination. For a word destination A/B supply D, E/F supply W, CC is zero-extended and DP supplies the high byte. PC is undefined in this family. See Atkinson, p. 143.", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry.", "form": "pair", "hd6309": true, "name": "ADDR", "operation": "Add source to destination.", "sources": ["Atkinson (2009), pp. 10", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks unsigned carry. H is preserved.", "form": "value", "hd6309": true, "name": "ADDW", "operation": "Add the operand to W. Keep the low 16 bits in W.", "sources": ["Atkinson (2009), pp. 9", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "maskMemory", "hd6309": true, "name": "AIM", "operation": "Combine the literal mask and the addressed byte with AND. Write the result to that address.", "sources": ["Atkinson (2009), pp. 11", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask,address · #mask,offset,X"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ALIGN", "operation": "Advance to a boundary divisible by the supplied value.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ALIGN boundary"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "ANDA", "operation": "Keep bits set in both inputs. Combine A with the operand and save the result in A.", "sources": ["Atkinson (2009), pp. 12", "Motorola (1981), Appendix A, ANDA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "ANDB", "operation": "Keep bits set in both inputs. Combine B with the operand and save the result in B.", "sources": ["Atkinson (2009), pp. 12", "Motorola (1981), Appendix A, ANDB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "Any CC bit can clear.", "form": "immediate", "name": "ANDCC", "operation": "Keep only CC bits selected by the mask.", "sources": ["Atkinson (2009), pp. 13", "Motorola (1981), Appendix A, ANDCC", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "hd6309": true, "name": "ANDD", "operation": "Keep bits set in both inputs. Combine D with the operand and save the result in D.", "sources": ["Atkinson (2009), pp. 14", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "The destination selects the width. A word source supplies its low byte to a byte destination. For a word destination A/B supply D, E/F supply W, CC is zero-extended and DP supplies the high byte. PC is undefined in this family. See Atkinson, p. 143.", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "pair", "hd6309": true, "name": "ANDR", "operation": "Apply bitwise AND to the destination using the source.", "sources": ["Atkinson (2009), pp. 15", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"aliases": ["LSL"], "category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C. H is undefined.", "form": "memory", "name": "ASL", "operation": "Operate on a memory byte. Shift one place left and fill bit 0 with zero.", "sources": ["Atkinson (2009), pp. 16–17", "Motorola (1981), Appendix A, ASL", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"aliases": ["LSLA"], "category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C. H is undefined.", "form": "inherent", "name": "ASLA", "operation": "Operate on register A. Shift one place left and fill bit 0 with zero.", "sources": ["Atkinson (2009), pp. 16–17", "Motorola (1981), Appendix A, ASLA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"aliases": ["LSLB"], "category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C. H is undefined.", "form": "inherent", "name": "ASLB", "operation": "Operate on register B. Shift one place left and fill bit 0 with zero.", "sources": ["Atkinson (2009), pp. 16–17", "Motorola (1981), Appendix A, ASLB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"aliases": ["LSLD"], "category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C.", "form": "inherent", "hd6309": true, "name": "ASLD", "operation": "Operate on register D. Shift one place left and fill bit 0 with zero.", "sources": ["Atkinson (2009), pp. 16–17", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"aliases": ["IFC", "IFNC", "EXITM", "EXIT"], "category": "Dialect & Compatibility", "name": "ASM-09 dialect", "operation": "The ASM-09 compatibility dialect adds string equality and inequality conditionals and an early macro exit.", "sources": ["Astle, LWTools 4.25, ch. 3"]},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved. H is undefined.", "form": "memory", "name": "ASR", "operation": "Operate on a memory byte. Shift right, preserving the sign bit.", "sources": ["Atkinson (2009), pp. 18–19", "Motorola (1981), Appendix A, ASR", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved. H is undefined.", "form": "inherent", "name": "ASRA", "operation": "Operate on register A. Shift right, preserving the sign bit.", "sources": ["Atkinson (2009), pp. 18–19", "Motorola (1981), Appendix A, ASRA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved. H is undefined.", "form": "inherent", "name": "ASRB", "operation": "Operate on register B. Shift right, preserving the sign bit.", "sources": ["Atkinson (2009), pp. 18–19", "Motorola (1981), Appendix A, ASRB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved.", "form": "inherent", "hd6309": true, "name": "ASRD", "operation": "Operate on register D. Shift right, preserving the sign bit.", "sources": ["Atkinson (2009), pp. 18–19", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"aliases": ["ASRQ", "CLRQ", "COMQ", "LSLE", "LSLF", "LSLQ", "LSRQ", "NEGE", "NEGF", "NEGW", "NEGQ", "TSTQ"], "category": "Dialect & Compatibility", "detail": "6809 expansions include ASLD, ASRD, CLRD, COMD, LSLD, LSRD, NEGD and TSTD. These names also identify real HD6309 operations. Additional 6309 convenience spellings include ASRQ, CLRQ, COMQ, LSLE, LSLF, LSLQ, LSRQ, NEGE, NEGF, NEGW, NEGQ and TSTQ. MC6800 compatibility is a separate optional dialect.", "name": "Assembler conveniences", "operation": "LWASM can expand convenience operations into several instructions when the corresponding pragma is active. The listing gives the actual expansion. A 6809 emulation of CLRD, for example, executes CLRA and CLRB separately.", "sources": ["Astle, LWTools 4.25, ch. 3"]},
{"category": "Registers & Flags", "name": "B", "operation": "Eight-bit accumulator. B forms the low byte of D.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Instructions", "flags": "CC can change when a destination bit in CC is selected.", "form": "bit", "hd6309": true, "name": "BAND", "operation": "Combine the selected memory bit with the destination register bit using AND. Only the destination bit changes.", "sources": ["Atkinson (2009), pp. 20", "Astle, LWTools 4.25, ch. 3"], "syntax": "A|B|CC,source bit,destination bit,direct address"},
{"aliases": ["BHS"], "category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BCC", "operation": "Continue at the target when C is clear (unsigned higher or equal after a compare). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 21", "Motorola (1981), Appendix A, BCC", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"aliases": ["BLO"], "category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BCS", "operation": "Continue at the target when C is set (unsigned lower). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 22", "Motorola (1981), Appendix A, BCS", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "flags": "CC can change when a destination bit in CC is selected.", "form": "bit", "hd6309": true, "name": "BEOR", "operation": "Combine the selected memory bit with the destination register bit using exclusive OR. Only the destination bit changes.", "sources": ["Atkinson (2009), pp. 23", "Astle, LWTools 4.25, ch. 3"], "syntax": "A|B|CC,source bit,destination bit,direct address"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BEQ", "operation": "Continue at the target when Z is set (equal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 24", "Motorola (1981), Appendix A, BEQ", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BGE", "operation": "Continue at the target when N equals V (signed greater or equal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 25", "Motorola (1981), Appendix A, BGE", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BGT", "operation": "Continue at the target when Z is clear and N equals V (signed greater). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 26", "Motorola (1981), Appendix A, BGT", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BHI", "operation": "Continue at the target when C and Z are both clear (unsigned higher). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 27", "Motorola (1981), Appendix A, BHI", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "flags": "CC can change when a destination bit in CC is selected.", "form": "bit", "hd6309": true, "name": "BIAND", "operation": "Combine the selected memory bit with the destination register bit using AND with the inverted source. Only the destination bit changes.", "sources": ["Atkinson (2009), pp. 29", "Astle, LWTools 4.25, ch. 3"], "syntax": "A|B|CC,source bit,destination bit,direct address"},
{"category": "Instructions", "flags": "CC can change when a destination bit in CC is selected.", "form": "bit", "hd6309": true, "name": "BIEOR", "operation": "Combine the selected memory bit with the destination register bit using exclusive OR with the inverted source. Only the destination bit changes.", "sources": ["Atkinson (2009), pp. 30", "Astle, LWTools 4.25, ch. 3"], "syntax": "A|B|CC,source bit,destination bit,direct address"},
{"category": "Instructions", "flags": "CC can change when a destination bit in CC is selected.", "form": "bit", "hd6309": true, "name": "BIOR", "operation": "Combine the selected memory bit with the destination register bit using OR with the inverted source. Only the destination bit changes.", "sources": ["Atkinson (2009), pp. 31", "Astle, LWTools 4.25, ch. 3"], "syntax": "A|B|CC,source bit,destination bit,direct address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "BITA", "operation": "Test the bits of A selected by the operand. Preserve both inputs.", "sources": ["Atkinson (2009), pp. 32", "Motorola (1981), Appendix A, BITA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "BITB", "operation": "Test the bits of B selected by the operand. Preserve both inputs.", "sources": ["Atkinson (2009), pp. 32", "Motorola (1981), Appendix A, BITB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "hd6309": true, "name": "BITD", "operation": "Test the bits of D selected by the operand. Preserve both inputs.", "sources": ["Atkinson (2009), pp. 33", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "Z sets if no selected error was pending.", "form": "immediate", "hd6309": true, "name": "BITMD", "operation": "Test the masked trap status bits of MD. Reading a selected sticky error clears it.", "sources": ["Atkinson (2009), pp. 34", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BLE", "operation": "Continue at the target when Z is set or N differs from V (signed less or equal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 35", "Motorola (1981), Appendix A, BLE", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BLS", "operation": "Continue at the target when C or Z is set (unsigned lower or equal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 37", "Motorola (1981), Appendix A, BLS", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BLT", "operation": "Continue at the target when N differs from V (signed less). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 38", "Motorola (1981), Appendix A, BLT", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BMI", "operation": "Continue at the target when N is set (negative). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 39", "Motorola (1981), Appendix A, BMI", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BNE", "operation": "Continue at the target when Z is clear (unequal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 40", "Motorola (1981), Appendix A, BNE", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "flags": "CC can change when a destination bit in CC is selected.", "form": "bit", "hd6309": true, "name": "BOR", "operation": "Combine the selected memory bit with the destination register bit using OR. Only the destination bit changes.", "sources": ["Atkinson (2009), pp. 41", "Astle, LWTools 4.25, ch. 3"], "syntax": "A|B|CC,source bit,destination bit,direct address"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BPL", "operation": "Continue at the target when N is clear (nonnegative). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 42", "Motorola (1981), Appendix A, BPL", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BRA", "operation": "Continue at the target. A branch to its own label forms a hold loop.", "sources": ["Atkinson (2009), pp. 43", "Motorola (1981), Appendix A, BRA", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BRN", "operation": "Read the displacement and continue at the next instruction.", "sources": ["Atkinson (2009), pp. 44", "Motorola (1981), Appendix A, BRN", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BSR", "operation": "Push the following instruction’s address on S, then continue at the target. RTS returns to the caller.", "sources": ["Atkinson (2009), pp. 45", "Motorola (1981), Appendix A, BSR", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BVC", "operation": "Continue at the target when V is clear (no signed overflow). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 46", "Motorola (1981), Appendix A, BVC", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 8-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "BVS", "operation": "Continue at the target when V is set (signed overflow). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 47", "Motorola (1981), Appendix A, BVS", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Registers & Flags", "name": "CC.C", "operation": "Carry or borrow. An unsigned addition sets C when the sum exceeds the register. A comparison sets C when the unsigned left operand is lower.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "CC.E", "operation": "Entire state stacked. RTI checks E in the saved condition byte to choose between the short and full interrupt frames.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "CC.F", "operation": "Fast interrupt request mask. Set F to mask FIRQ. A saved CC value can restore the previous mask.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "CC.H", "operation": "Half carry. An eight-bit addition places the carry from bit 3 here. DAA uses H to adjust a packed decimal result.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "CC.I", "operation": "Interrupt request mask. Set I to mask IRQ. Clear I to permit IRQ when the external request is active.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "CC.N", "operation": "Negative. For operations that set N from the result, it copies the most significant bit. A signed comparison also needs V.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "CC.V", "operation": "Signed overflow. For example, adding one to $7F produces $80 in a byte and sets V.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "CC.Z", "operation": "Zero. Many arithmetic and load instructions set Z when the result is zero. After a compare, BEQ uses Z to test equality.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Instructions", "flags": "Z sets. N, V and C clear.", "form": "memory", "name": "CLR", "operation": "Operate on a memory byte. Write zero.", "sources": ["Atkinson (2009), pp. 48–49", "Motorola (1981), Appendix A, CLR", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "Z sets. N, V and C clear.", "form": "inherent", "name": "CLRA", "operation": "Operate on register A. Write zero.", "sources": ["Atkinson (2009), pp. 48–49", "Motorola (1981), Appendix A, CLRA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "Z sets. N, V and C clear.", "form": "inherent", "name": "CLRB", "operation": "Operate on register B. Write zero.", "sources": ["Atkinson (2009), pp. 48–49", "Motorola (1981), Appendix A, CLRB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "Z sets. N, V and C clear.", "form": "inherent", "hd6309": true, "name": "CLRD", "operation": "Operate on register D. Write zero.", "sources": ["Atkinson (2009), pp. 48–49", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "Z sets. N, V and C clear.", "form": "inherent", "hd6309": true, "name": "CLRE", "operation": "Operate on register E. Write zero.", "sources": ["Atkinson (2009), pp. 48–49", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "Z sets. N, V and C clear.", "form": "inherent", "hd6309": true, "name": "CLRF", "operation": "Operate on register F. Write zero.", "sources": ["Atkinson (2009), pp. 48–49", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "Z sets. N, V and C clear.", "form": "inherent", "hd6309": true, "name": "CLRW", "operation": "Operate on register W. Write zero.", "sources": ["Atkinson (2009), pp. 48–49", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "name": "CMPA", "operation": "Subtract the operand from A. Keep A intact for a later branch.", "sources": ["Atkinson (2009), pp. 50", "Motorola (1981), Appendix A, CMPA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "name": "CMPB", "operation": "Subtract the operand from B. Keep B intact for a later branch.", "sources": ["Atkinson (2009), pp. 50", "Motorola (1981), Appendix A, CMPB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "name": "CMPD", "operation": "Subtract the operand from D. Keep D intact for a later branch.", "sources": ["Atkinson (2009), pp. 51", "Motorola (1981), Appendix A, CMPD", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "hd6309": true, "name": "CMPE", "operation": "Subtract the operand from E. Keep E intact for a later branch.", "sources": ["Atkinson (2009), pp. 50", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "hd6309": true, "name": "CMPF", "operation": "Subtract the operand from F. Keep F intact for a later branch.", "sources": ["Atkinson (2009), pp. 50", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "The destination selects the width. A word source supplies its low byte to a byte destination. For a word destination A/B supply D, E/F supply W, CC is zero-extended and DP supplies the high byte. PC is undefined in this family. See Atkinson, p. 143.", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "pair", "hd6309": true, "name": "CMPR", "operation": "Compare destination minus source, preserving both.", "sources": ["Atkinson (2009), pp. 52", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "name": "CMPS", "operation": "Subtract the operand from S. Keep S intact for a later branch.", "sources": ["Atkinson (2009), pp. 51", "Motorola (1981), Appendix A, CMPS", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "name": "CMPU", "operation": "Subtract the operand from U. Keep U intact for a later branch.", "sources": ["Atkinson (2009), pp. 51", "Motorola (1981), Appendix A, CMPU", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "hd6309": true, "name": "CMPW", "operation": "Subtract the operand from W. Keep W intact for a later branch.", "sources": ["Atkinson (2009), pp. 51", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "name": "CMPX", "operation": "Subtract the operand from X. Keep X intact for a later branch.", "sources": ["Atkinson (2009), pp. 51", "Motorola (1981), Appendix A, CMPX", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "name": "CMPY", "operation": "Subtract the operand from Y. Keep Y intact for a later branch.", "sources": ["Atkinson (2009), pp. 51", "Motorola (1981), Appendix A, CMPY", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets and V clears.", "form": "memory", "name": "COM", "operation": "Operate on a memory byte. Invert every bit.", "sources": ["Atkinson (2009), pp. 53–54", "Motorola (1981), Appendix A, COM", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets and V clears.", "form": "inherent", "name": "COMA", "operation": "Operate on register A. Invert every bit.", "sources": ["Atkinson (2009), pp. 53–54", "Motorola (1981), Appendix A, COMA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets and V clears.", "form": "inherent", "name": "COMB", "operation": "Operate on register B. Invert every bit.", "sources": ["Atkinson (2009), pp. 53–54", "Motorola (1981), Appendix A, COMB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets and V clears.", "form": "inherent", "hd6309": true, "name": "COMD", "operation": "Operate on register D. Invert every bit.", "sources": ["Atkinson (2009), pp. 53–54", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets and V clears.", "form": "inherent", "hd6309": true, "name": "COME", "operation": "Operate on register E. Invert every bit.", "sources": ["Atkinson (2009), pp. 53–54", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets and V clears.", "form": "inherent", "hd6309": true, "name": "COMF", "operation": "Operate on register F. Invert every bit.", "sources": ["Atkinson (2009), pp. 53–54", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets and V clears.", "form": "inherent", "hd6309": true, "name": "COMW", "operation": "Operate on register W. Invert every bit.", "sources": ["Atkinson (2009), pp. 53–54", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "The mask updates CC. E sets for the stacked full context.", "form": "immediate", "name": "CWAI", "operation": "AND CC with the mask, stack the full interrupt context on S, then wait for an eligible interrupt.", "sources": ["Atkinson (2009), pp. 55", "Motorola (1981), Appendix A, CWAI", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask"},
{"aliases": ["NAM", "PAG", "PAGE", "SPC", "TTL", ".BANK", ".MODULE"], "category": "Dialect & Compatibility", "name": "Compatibility directives", "operation": "LWASM accepts these listing and tool-compatibility directives without generating code.", "sources": ["Astle, LWTools 4.25, ch. 3"]},
{"aliases": ["CC"], "category": "Registers & Flags", "detail": "Branch choices depend on how the previous instruction defined these bits. For example, Z=1 after CMP means equal; C=1 after CMP means unsigned lower. An undefined bit cannot support a portable decision.", "name": "Condition codes", "operation": "CC holds eight one-bit values. E marks an entire interrupt frame. F masks FIRQ, H is half carry, I masks IRQ. N is negative, Z zero, V signed overflow and C carry or borrow.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "D", "operation": "Sixteen-bit accumulator built from A (high) and B (low). Writing D immediately changes both halves.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C reports decimal carry. V is undefined.", "form": "inherent", "name": "DAA", "operation": "Adjust A after adding packed BCD bytes, using H and C from the addition.", "sources": ["Atkinson (2009), pp. 56", "Motorola (1981), Appendix A, DAA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from minimum negative to maximum positive. C is preserved.", "form": "memory", "name": "DEC", "operation": "Operate on a memory byte. Subtract one.", "sources": ["Atkinson (2009), pp. 57–58", "Motorola (1981), Appendix A, DEC", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from minimum negative to maximum positive. C is preserved.", "form": "inherent", "name": "DECA", "operation": "Operate on register A. Subtract one.", "sources": ["Atkinson (2009), pp. 57–58", "Motorola (1981), Appendix A, DECA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from minimum negative to maximum positive. C is preserved.", "form": "inherent", "name": "DECB", "operation": "Operate on register B. Subtract one.", "sources": ["Atkinson (2009), pp. 57–58", "Motorola (1981), Appendix A, DECB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from minimum negative to maximum positive. C is preserved.", "form": "inherent", "hd6309": true, "name": "DECD", "operation": "Operate on register D. Subtract one.", "sources": ["Atkinson (2009), pp. 57–58", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from minimum negative to maximum positive. C is preserved.", "form": "inherent", "hd6309": true, "name": "DECE", "operation": "Operate on register E. Subtract one.", "sources": ["Atkinson (2009), pp. 57–58", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from minimum negative to maximum positive. C is preserved.", "form": "inherent", "hd6309": true, "name": "DECF", "operation": "Operate on register F. Subtract one.", "sources": ["Atkinson (2009), pp. 57–58", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from minimum negative to maximum positive. C is preserved.", "form": "inherent", "hd6309": true, "name": "DECW", "operation": "Operate on register W. Subtract one.", "sources": ["Atkinson (2009), pp. 57–58", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "DEPHASE", "operation": "Resume the original address calculation after PHASE.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "DEPHASE"},
{"category": "Instructions", "flags": "For an in-range quotient, N and Z describe it, V clears, and C receives its low bit. Signed overflow sets V. Range overflow preserves the dividend and clears N, Z and C.", "form": "value", "hd6309": true, "name": "DIVD", "operation": "Divide signed D by a signed byte. The quotient goes in B and the remainder in A. A zero divisor traps.", "sources": ["Atkinson (2009), pp. 59", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "VCC Plus’s retained core has differences in DIVQ overflow and carry handling. Treat these flags as processor documentation.", "flags": "For an in-range quotient, N and Z describe it, V clears, and C receives its low bit. Signed overflow sets V. Range overflow preserves the dividend and clears N, Z and C.", "form": "value", "hd6309": true, "name": "DIVQ", "operation": "Divide signed Q by a signed word. The quotient goes in W and the remainder in D. A zero divisor traps.", "sources": ["Atkinson (2009), pp. 60", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Registers & Flags", "name": "DP", "operation": "Direct-page register. Its byte supplies the upper address bits of a direct operand. LWASM SETDP describes your assumption during assembly.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "DTB", "operation": "Emit six host-local date and time bytes.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "DTB"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "DTS", "operation": "Emit a textual build timestamp. Its value changes with the host clock.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "DTS"},
{"category": "Addressing Modes", "name": "Direct", "operation": "Join DP with the 8-bit operand to make the memory address. With DP=$12, LDA <$34 reads $1234.", "sources": ["Motorola (1981), ch. 2", "Astle, LWTools 4.25, ch. 3"], "syntax": "LDA <$34"},
{"category": "Registers & Flags", "hd6309": true, "name": "E", "operation": "Eight-bit accumulator and high byte of the HD6309 W register. CC.E is a separate flag.", "sources": ["Burke (1993), register file"]},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "maskMemory", "hd6309": true, "name": "EIM", "operation": "Combine the literal mask and the addressed byte with exclusive OR. Write the result to that address.", "sources": ["Atkinson (2009), pp. 61", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask,address · #mask,offset,X"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ELSE", "operation": "Select the alternate branch of a conditional assembly block.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ELSE"},
{"aliases": [".END"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "END", "operation": "Finish the assembly and specify the DECB execution address. END itself emits no machine instruction.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "END entry"},
{"aliases": ["ENDIF"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ENDC", "operation": "Close the current conditional assembly block.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ENDC"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ENDM", "operation": "Finish a macro definition.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ENDM"},
{"aliases": ["ENDSTRUCT"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ENDS", "operation": "Close a structure definition.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ENDS"},
{"aliases": ["ENDSECTION"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ENDSECT", "operation": "Finish the current object section.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ENDSECT"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "EORA", "operation": "Set bits where the inputs differ. Combine A with the operand and save the result in A.", "sources": ["Atkinson (2009), pp. 62", "Motorola (1981), Appendix A, EORA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "EORB", "operation": "Set bits where the inputs differ. Combine B with the operand and save the result in B.", "sources": ["Atkinson (2009), pp. 62", "Motorola (1981), Appendix A, EORB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "hd6309": true, "name": "EORD", "operation": "Set bits where the inputs differ. Combine D with the operand and save the result in D.", "sources": ["Atkinson (2009), pp. 63", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "The destination selects the width. A word source supplies its low byte to a byte destination. For a word destination A/B supply D, E/F supply W, CC is zero-extended and DP supplies the high byte. PC is undefined in this family. See Atkinson, p. 143.", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "pair", "hd6309": true, "name": "EORR", "operation": "Toggle destination bits selected by the source.", "sources": ["Atkinson (2009), pp. 64", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"aliases": ["="], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "EQU", "operation": "Assign a fixed value to a symbol.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "name EQU expression"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ERROR", "operation": "Report an assembly error with the supplied text.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ERROR message"},
{"category": "Instructions", "detail": "Use equal-width registers on the MC6809. The HD6309 has additional registers and defined mixed-width behavior. Writing PC transfers control.", "flags": "Writing CC replaces its flags.", "form": "pair", "name": "EXG", "operation": "Exchange the contents of the two registers.", "sources": ["Atkinson (2009), pp. 65–66", "Motorola (1981), Appendix A, EXG", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"aliases": [".GLOBL"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "EXPORT", "operation": "Expose a symbol to other object modules.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "EXPORT name"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "EXTDEP", "operation": "Mark an external symbol as a link dependency without emitting storage for it.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "name EXTDEP"},
{"aliases": ["EXTERNAL", "IMPORT"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "EXTERN", "operation": "Declare a name defined in another object module.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "name EXTERN"},
{"category": "Addressing Modes", "detail": "On the CoCo 3, the address in STA >$1A00 selects a byte through the CPU memory map. The MMU chooses the physical 8 KiB block and preserves the low 13 address bits. Use Mapped CPU in the debugger to inspect that store.", "name": "Extended", "operation": "Use the full 16-bit address in the instruction. LDA >$0400 reads a byte there.", "sources": ["Tepolt (1987), p. 20, fig. 3-4", "Motorola (1981), ch. 2", "Astle, LWTools 4.25, ch. 3"], "syntax": "LDA >$0400"},
{"category": "Registers & Flags", "hd6309": true, "name": "F", "operation": "Eight-bit accumulator and low byte of W. CC.F is the fast-interrupt mask.", "sources": ["Burke (1993), register file"]},
{"aliases": [".BYTE", ".DB"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "FCB", "operation": "Emit each expression as one byte. The listing shows data at the current location.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "FCB byte[,byte…]"},
{"aliases": [".ASCII", ".STR"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "FCC", "operation": "Emit character bytes between matching delimiters.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "FCC /text/"},
{"aliases": ["FCZ", ".ASCIZ", ".STRZ"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "FCN", "operation": "Emit a string followed by a zero byte.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "FCN /text/"},
{"aliases": [".ASCIS", ".STRS"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "FCS", "operation": "Emit a string with the high bit set in its last character.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "FCS /text/"},
{"aliases": [".WORD", ".DW"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "FDB", "operation": "Emit 16-bit words, high byte first.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "FDB word[,word…]"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "FDBS", "operation": "Emit 16-bit values low byte first, opposite to the processor’s normal word order.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "FDBS word[,word…]"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "FILL", "operation": "Emit the given byte repeatedly.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "FILL byte,count"},
{"aliases": [".4BYTE", ".QUAD"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "FQB", "operation": "Emit 32-bit quantities, high byte first.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "FQB value"},
{"category": "Addressing Modes", "hd6309": true, "name": "HD6309 indexed", "operation": "E, F and W can supply offsets for X, Y, U or S. W also supports ,W, offset,W, ,W++ and ,--W, including their indirect forms.", "sources": ["Atkinson (2009), p. 148", "Astle, LWTools 4.25, ch. 3"], "syntax": "LDA E,X · LDA ,W++"},
{"category": "Registers & Flags", "detail": "MD bit 0 selects native mode. Bit 1 selects full FIRQ stacking. A native full-state interrupt frame includes E and F; the mode on return must agree with the frame. Cycle counts also depend on indexed postbytes, branch outcomes and transfer lengths. In VCC Plus, Step completes a TFM instruction across its byte transfers.", "hd6309": true, "name": "HD6309 modes", "operation": "The HD6309 starts in emulation mode. Many instructions take fewer cycles in native mode. LDMD #1 selects native mode with the ordinary short FIRQ frame. Mode selection is independent of the LWASM target.", "sources": ["Atkinson (2009), pp. 2, 120, 136, 144", "Burke (1993), mode register", "VCC Plus, Native Debugger, HD6309 Step"]},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFDEF", "operation": "Test whether a symbol has already been defined.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFDEF symbol"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFEQ", "operation": "Include the following block when the expression equals zero.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFEQ expression"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFGE", "operation": "Include the block when the expression is zero or positive.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFGE expression"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFGT", "operation": "Include the block when the expression is positive.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFGT expression"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFLE", "operation": "Include the block when the expression is zero or negative.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFLE expression"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFLT", "operation": "Include the block when the expression is negative.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFLT expression"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFNDEF", "operation": "Test whether a symbol is still undefined.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFNDEF symbol"},
{"aliases": ["IF"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFNE", "operation": "Include the block when the expression is nonzero.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFNE expression"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFP1", "operation": "Legacy pass-number conditional. LWASM warns that it cannot reproduce pass-one assembly semantics.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFP1"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFP2", "operation": "Legacy pass-number conditional. LWASM warns that it cannot reproduce pass-two assembly semantics.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFP2"},
{"aliases": ["IFOPT"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFPRAGMA", "operation": "Include a block according to the current pragma setting.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFPRAGMA option"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "IFSTR", "operation": "Include a block according to the specified string comparison.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "IFSTR comparison,arguments"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from maximum positive to minimum negative. C is preserved.", "form": "memory", "name": "INC", "operation": "Operate on a memory byte. Add one.", "sources": ["Atkinson (2009), pp. 67–68", "Motorola (1981), Appendix A, INC", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from maximum positive to minimum negative. C is preserved.", "form": "inherent", "name": "INCA", "operation": "Operate on register A. Add one.", "sources": ["Atkinson (2009), pp. 67–68", "Motorola (1981), Appendix A, INCA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from maximum positive to minimum negative. C is preserved.", "form": "inherent", "name": "INCB", "operation": "Operate on register B. Add one.", "sources": ["Atkinson (2009), pp. 67–68", "Motorola (1981), Appendix A, INCB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from maximum positive to minimum negative. C is preserved.", "form": "inherent", "hd6309": true, "name": "INCD", "operation": "Operate on register D. Add one.", "sources": ["Atkinson (2009), pp. 67–68", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from maximum positive to minimum negative. C is preserved.", "form": "inherent", "hd6309": true, "name": "INCE", "operation": "Operate on register E. Add one.", "sources": ["Atkinson (2009), pp. 67–68", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from maximum positive to minimum negative. C is preserved.", "form": "inherent", "hd6309": true, "name": "INCF", "operation": "Operate on register F. Add one.", "sources": ["Atkinson (2009), pp. 67–68", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"aliases": ["INCL", "LIB", "USE"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "INCLUDE", "operation": "Read another source file at this location.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "INCLUDE filename"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "INCLUDEBIN", "operation": "Copy bytes from a binary file into the assembly output.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "INCLUDEBIN filename"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "INCLUDESTR", "operation": "Treat the contents of the given string as additional assembler source.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "INCLUDESTR string"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V sets on crossing from maximum positive to minimum negative. C is preserved.", "form": "inherent", "hd6309": true, "name": "INCW", "operation": "Operate on register W. Add one.", "sources": ["Atkinson (2009), pp. 67–68", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Addressing Modes", "name": "Immediate", "operation": "Use the following operand bytes as the value.", "sources": ["Motorola (1981), ch. 2", "Astle, LWTools 4.25, ch. 3"], "syntax": "LDA #$20"},
{"category": "Addressing Modes", "name": "Indexed", "operation": "Calculate an address from a register and an offset. LDA ,X+ reads at the original X then increments X by one. Use ,X++ for a two-byte advance. Indexed operands can also use A, B or D as signed offsets.", "sources": ["Motorola (1981), ch. 2", "Astle, LWTools 4.25, ch. 3"], "syntax": "LDA ,X+ · LDD 2,S · LDA B,Y"},
{"category": "Addressing Modes", "name": "Indirect", "operation": "Use square brackets to fetch a two-byte pointer at the intermediate address, then access the final address. Use a two-byte increment when walking a pointer table.", "sources": ["Motorola (1981), ch. 2", "Astle, LWTools 4.25, ch. 3"], "syntax": "LDA [,X++] · JMP [$4000]"},
{"category": "Addressing Modes", "name": "Inherent", "operation": "The opcode specifies the operation and its operands. INCA, for example, acts on A.", "sources": ["Motorola (1981), ch. 2", "Astle, LWTools 4.25, ch. 3"], "syntax": "INCA"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "memory", "name": "JMP", "operation": "Set PC to the effective address.", "sources": ["Atkinson (2009), pp. 69", "Motorola (1981), Appendix A, JMP", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "memory", "name": "JSR", "operation": "Push the return address on S, then set PC to the effective address.", "sources": ["Atkinson (2009), pp. 70", "Motorola (1981), Appendix A, JSR", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"aliases": ["LBHS"], "category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBCC", "operation": "Continue at the target when C is clear (unsigned higher or equal after a compare). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 71", "Motorola (1981), Appendix A, LBCC", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"aliases": ["LBLO"], "category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBCS", "operation": "Continue at the target when C is set (unsigned lower). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 72", "Motorola (1981), Appendix A, LBCS", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBEQ", "operation": "Continue at the target when Z is set (equal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 73", "Motorola (1981), Appendix A, LBEQ", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBGE", "operation": "Continue at the target when N equals V (signed greater or equal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 74", "Motorola (1981), Appendix A, LBGE", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBGT", "operation": "Continue at the target when Z is clear and N equals V (signed greater). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 75", "Motorola (1981), Appendix A, LBGT", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBHI", "operation": "Continue at the target when C and Z are both clear (unsigned higher). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 76", "Motorola (1981), Appendix A, LBHI", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBLE", "operation": "Continue at the target when Z is set or N differs from V (signed less or equal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 78", "Motorola (1981), Appendix A, LBLE", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBLS", "operation": "Continue at the target when C or Z is set (unsigned lower or equal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 80", "Motorola (1981), Appendix A, LBLS", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBLT", "operation": "Continue at the target when N differs from V (signed less). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 81", "Motorola (1981), Appendix A, LBLT", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBMI", "operation": "Continue at the target when N is set (negative). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 82", "Motorola (1981), Appendix A, LBMI", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBNE", "operation": "Continue at the target when Z is clear (unequal). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 83", "Motorola (1981), Appendix A, LBNE", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBPL", "operation": "Continue at the target when N is clear (nonnegative). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 84", "Motorola (1981), Appendix A, LBPL", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBRA", "operation": "Continue at the target. A branch to its own label forms a hold loop.", "sources": ["Atkinson (2009), pp. 85", "Motorola (1981), Appendix A, LBRA", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBRN", "operation": "Read the displacement and continue at the next instruction.", "sources": ["Atkinson (2009), pp. 86", "Motorola (1981), Appendix A, LBRN", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBSR", "operation": "Push the following instruction’s address on S, then continue at the target. RTS returns to the caller.", "sources": ["Atkinson (2009), pp. 87", "Motorola (1981), Appendix A, LBSR", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBVC", "operation": "Continue at the target when V is clear (no signed overflow). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 88", "Motorola (1981), Appendix A, LBVC", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "The signed 16-bit displacement is relative to the following instruction.", "flags": "CC is preserved.", "form": "relative", "name": "LBVS", "operation": "Continue at the target when V is set (signed overflow). Otherwise execute the next instruction.", "sources": ["Atkinson (2009), pp. 89", "Motorola (1981), Appendix A, LBVS", "Astle, LWTools 4.25, ch. 3"], "syntax": "target label"},
{"category": "Instructions", "detail": "LDA #$20 places $20 in A. LDA $0400 reads the byte at $0400. LDA ,X+ reads at X, then advances X by one. The remaining CC bits keep their values. Immediate LDA takes 2 cycles. Extended LDA takes 5 on MC6809 or HD6309 emulation mode and 4 in HD6309 native mode. Indexed timing depends on the postbyte.", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "LDA", "operation": "Copy the operand into A. Use # for a literal or read one byte from the addressed memory.", "sources": ["Atkinson (2009), pp. 90", "Motorola (1981), Appendix A, LDA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "LDB", "operation": "Copy the operand into B. Use # for a literal or read one byte from the addressed memory.", "sources": ["Atkinson (2009), pp. 90", "Motorola (1981), Appendix A, LDB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "CC can change when a destination bit in CC is selected.", "form": "bit", "hd6309": true, "name": "LDBT", "operation": "Combine the selected memory bit with the destination register bit using copy. Only the destination bit changes.", "sources": ["Atkinson (2009), pp. 92", "Astle, LWTools 4.25, ch. 3"], "syntax": "A|B|CC,source bit,destination bit,direct address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "LDD", "operation": "Copy the operand into D. Use # for a literal or read two bytes from the addressed memory.", "sources": ["Atkinson (2009), pp. 91", "Motorola (1981), Appendix A, LDD", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "hd6309": true, "name": "LDE", "operation": "Copy the operand into E. Use # for a literal or read one byte from the addressed memory.", "sources": ["Atkinson (2009), pp. 90", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "hd6309": true, "name": "LDF", "operation": "Copy the operand into F. Use # for a literal or read one byte from the addressed memory.", "sources": ["Atkinson (2009), pp. 90", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "immediate", "hd6309": true, "name": "LDMD", "operation": "Write the low two mode-control bits of MD.", "sources": ["Atkinson (2009), pp. 93", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "hd6309": true, "name": "LDQ", "operation": "Copy the operand into Q. Use # for a literal or read four bytes from the addressed memory.", "sources": ["Atkinson (2009), pp. 94", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "LDS", "operation": "Copy the operand into S. Use # for a literal or read two bytes from the addressed memory.", "sources": ["Atkinson (2009), pp. 91", "Motorola (1981), Appendix A, LDS", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "LDU", "operation": "Copy the operand into U. Use # for a literal or read two bytes from the addressed memory.", "sources": ["Atkinson (2009), pp. 91", "Motorola (1981), Appendix A, LDU", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "LDW #$1234 encodes as 10 86 12 34. E becomes $12 and F becomes $34 in either HD6309 execution mode.", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "hd6309": true, "name": "LDW", "operation": "Copy the operand into W. Use # for a literal or read two bytes from the addressed memory.", "sources": ["Atkinson (2009), pp. 91", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "LDX", "operation": "Copy the operand into X. Use # for a literal or read two bytes from the addressed memory.", "sources": ["Atkinson (2009), pp. 91", "Motorola (1981), Appendix A, LDX", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "LDY", "operation": "Copy the operand into Y. Use # for a literal or read two bytes from the addressed memory.", "sources": ["Atkinson (2009), pp. 91", "Motorola (1981), Appendix A, LDY", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "indexed", "name": "LEAS", "operation": "Calculate an indexed address and place it in S. Indirect addressing reads a pointer before producing the address.", "sources": ["Atkinson (2009), pp. 95", "Motorola (1981), Appendix A, LEAS", "Astle, LWTools 4.25, ch. 3"], "syntax": "offset,index"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "indexed", "name": "LEAU", "operation": "Calculate an indexed address and place it in U. Indirect addressing reads a pointer before producing the address.", "sources": ["Atkinson (2009), pp. 95", "Motorola (1981), Appendix A, LEAU", "Astle, LWTools 4.25, ch. 3"], "syntax": "offset,index"},
{"category": "Instructions", "flags": "Only Z changes, to indicate a zero address.", "form": "indexed", "name": "LEAX", "operation": "Calculate an indexed address and place it in X. Indirect addressing reads a pointer before producing the address.", "sources": ["Atkinson (2009), pp. 95", "Motorola (1981), Appendix A, LEAX", "Astle, LWTools 4.25, ch. 3"], "syntax": "offset,index"},
{"category": "Instructions", "flags": "Only Z changes, to indicate a zero address.", "form": "indexed", "name": "LEAY", "operation": "Calculate an indexed address and place it in Y. Indirect addressing reads a pointer before producing the address.", "sources": ["Atkinson (2009), pp. 95", "Motorola (1981), Appendix A, LEAY", "Astle, LWTools 4.25, ch. 3"], "syntax": "offset,index"},
{"category": "Instructions", "flags": "N clears. Z marks zero. C receives the old bit 0. V is preserved.", "form": "memory", "name": "LSR", "operation": "Operate on a memory byte. Shift right, bringing zero into the top bit.", "sources": ["Atkinson (2009), pp. 98–99", "Motorola (1981), Appendix A, LSR", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N clears. Z marks zero. C receives the old bit 0. V is preserved.", "form": "inherent", "name": "LSRA", "operation": "Operate on register A. Shift right, bringing zero into the top bit.", "sources": ["Atkinson (2009), pp. 98–99", "Motorola (1981), Appendix A, LSRA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N clears. Z marks zero. C receives the old bit 0. V is preserved.", "form": "inherent", "name": "LSRB", "operation": "Operate on register B. Shift right, bringing zero into the top bit.", "sources": ["Atkinson (2009), pp. 98–99", "Motorola (1981), Appendix A, LSRB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N clears. Z marks zero. C receives the old bit 0. V is preserved.", "form": "inherent", "hd6309": true, "name": "LSRD", "operation": "Operate on register D. Shift right, bringing zero into the top bit.", "sources": ["Atkinson (2009), pp. 98–99", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N clears. Z marks zero. C receives the old bit 0. V is preserved.", "form": "inherent", "hd6309": true, "name": "LSRW", "operation": "Operate on register W. Shift right, bringing zero into the top bit.", "sources": ["Atkinson (2009), pp. 98–99", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"aliases": ["MACR"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "MACRO", "operation": "Begin defining a sequence of source lines for later expansion.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "name MACRO"},
{"aliases": ["ABA", "CBA", "CLC", "CLF", "CLI", "CLIF", "CLV", "CPX", "DES", "DEX", "DEY", "INS", "INX", "INY", "SBA", "SEC", "SEF", "SEI", "SEIF", "SEV", "TAB", "TAP", "TBA", "TPA", "TSX", "TXS", "WAI"], "category": "Dialect & Compatibility", "name": "MC6800 compatibility", "operation": "These optional LWASM spellings expand to 6809 encodings with the 6800compat pragma. Expansion can require several instructions. Inspect the listing when stepping.", "sources": ["Astle, LWTools 4.25, ch. 3"]},
{"category": "Registers & Flags", "hd6309": true, "name": "MD", "operation": "Mode register. LDMD controls execution mode and FIRQ stacking. BITMD tests the latched illegal-instruction and division-by-zero status.", "sources": ["Burke (1993), register file"]},
{"category": "Instructions", "flags": "Z marks a zero product. C receives product bit 7.", "form": "inherent", "name": "MUL", "operation": "Multiply unsigned A by B and place the 16-bit product in D.", "sources": ["Atkinson (2009), pp. 100", "Motorola (1981), Appendix A, MUL", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V and C clear.", "form": "value", "hd6309": true, "name": "MULD", "operation": "Multiply signed D by a signed 16-bit operand and store the 32-bit product in Q.", "sources": ["Atkinson (2009), pp. 101", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets for a nonzero input. V marks negation of the most negative value.", "form": "memory", "name": "NEG", "operation": "Operate on a memory byte. Subtract the value from zero.", "sources": ["Atkinson (2009), pp. 102–103", "Motorola (1981), Appendix A, NEG", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets for a nonzero input. V marks negation of the most negative value.", "form": "inherent", "name": "NEGA", "operation": "Operate on register A. Subtract the value from zero.", "sources": ["Atkinson (2009), pp. 102–103", "Motorola (1981), Appendix A, NEGA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets for a nonzero input. V marks negation of the most negative value.", "form": "inherent", "name": "NEGB", "operation": "Operate on register B. Subtract the value from zero.", "sources": ["Atkinson (2009), pp. 102–103", "Motorola (1981), Appendix A, NEGB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C sets for a nonzero input. V marks negation of the most negative value.", "form": "inherent", "hd6309": true, "name": "NEGD", "operation": "Operate on register D. Subtract the value from zero.", "sources": ["Atkinson (2009), pp. 102–103", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "inherent", "name": "NOP", "operation": "Advance to the following instruction.", "sources": ["Atkinson (2009), pp. 104", "Motorola (1981), Appendix A, NOP", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "maskMemory", "hd6309": true, "name": "OIM", "operation": "Combine the literal mask and the addressed byte with OR. Write the result to that address.", "sources": ["Atkinson (2009), pp. 105", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask,address · #mask,offset,X"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "ORA", "operation": "Set bits present in either input. Combine A with the operand and save the result in A.", "sources": ["Atkinson (2009), pp. 106", "Motorola (1981), Appendix A, ORA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "name": "ORB", "operation": "Set bits present in either input. Combine B with the operand and save the result in B.", "sources": ["Atkinson (2009), pp. 106", "Motorola (1981), Appendix A, ORB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "Any CC bit can set.", "form": "immediate", "name": "ORCC", "operation": "Set each CC bit selected by the mask.", "sources": ["Atkinson (2009), pp. 107", "Motorola (1981), Appendix A, ORCC", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "value", "hd6309": true, "name": "ORD", "operation": "Set bits present in either input. Combine D with the operand and save the result in D.", "sources": ["Atkinson (2009), pp. 108", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ORG", "operation": "Set the address of the following output. In DECB an origin determines where a data block loads.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ORG address"},
{"category": "Instructions", "detail": "The destination selects the width. A word source supplies its low byte to a byte destination. For a word destination A/B supply D, E/F supply W, CC is zero-extended and DP supplies the high byte. PC is undefined in this family. See Atkinson, p. 143.", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "pair", "hd6309": true, "name": "ORR", "operation": "Apply bitwise OR to the destination using the source.", "sources": ["Atkinson (2009), pp. 109", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"aliases": ["OS9", "MOD", "EMOD"], "category": "Dialect & Compatibility", "name": "OS-9 output directives", "operation": "OS9 encodes SWI2 followed by a service byte for OS-9 or object output. MOD and EMOD frame an OS-9 module. Assembly Development runs standalone Disk BASIC block images.", "sources": ["Astle, LWTools 4.25, ch. 3"]},
{"category": "Registers & Flags", "name": "PC", "operation": "Program counter. Branches, jumps, calls and returns change the address of the next instruction.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "PHASE", "operation": "Give following code a different logical address for labels and expressions while retaining its output placement.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "PHASE expression"},
{"aliases": ["*PRAGMA", "**PRAGMA", "OPT"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "PRAGMA", "operation": "Change a LWASM dialect option. A target-changing pragma affects subsequent assembly.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "PRAGMA option"},
{"category": "Instructions", "detail": "Select CC, A, B, DP, X, Y, U or PC. LWASM also accepts D for A and B. Hardware determines the register order.", "flags": "CC is preserved.", "form": "stack", "name": "PSHS", "operation": "Save selected registers on S. The stack grows toward lower addresses.", "sources": ["Atkinson (2009), pp. 110", "Motorola (1981), Appendix A, PSHS", "Astle, LWTools 4.25, ch. 3"], "syntax": "register[,register…] · #mask"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "inherent", "hd6309": true, "name": "PSHSW", "operation": "Push both bytes of W onto S, subtracting two from the pointer.", "sources": ["Atkinson (2009), pp. 111", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "detail": "Select CC, A, B, DP, X, Y, S or PC. LWASM also accepts D for A and B. Hardware determines the register order.", "flags": "CC is preserved.", "form": "stack", "name": "PSHU", "operation": "Save selected registers on U. The stack grows toward lower addresses.", "sources": ["Atkinson (2009), pp. 110", "Motorola (1981), Appendix A, PSHU", "Astle, LWTools 4.25, ch. 3"], "syntax": "register[,register…] · #mask"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "inherent", "hd6309": true, "name": "PSHUW", "operation": "Push both bytes of W onto U, subtracting two from the pointer.", "sources": ["Atkinson (2009), pp. 112", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "detail": "Select CC, A, B, DP, X, Y, U or PC. LWASM also accepts D for A and B. Hardware determines the register order.", "flags": "Pulling CC replaces all its flags.", "form": "stack", "name": "PULS", "operation": "Restore selected registers from S, advancing the stack pointer. Pulling PC transfers control.", "sources": ["Atkinson (2009), pp. 113", "Motorola (1981), Appendix A, PULS", "Astle, LWTools 4.25, ch. 3"], "syntax": "register[,register…] · #mask"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "inherent", "hd6309": true, "name": "PULSW", "operation": "Pull two bytes into W from S, advancing the pointer by two.", "sources": ["Atkinson (2009), pp. 114", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "detail": "Select CC, A, B, DP, X, Y, S or PC. LWASM also accepts D for A and B. Hardware determines the register order.", "flags": "Pulling CC replaces all its flags.", "form": "stack", "name": "PULU", "operation": "Restore selected registers from U, advancing the stack pointer. Pulling PC transfers control.", "sources": ["Atkinson (2009), pp. 113", "Motorola (1981), Appendix A, PULU", "Astle, LWTools 4.25, ch. 3"], "syntax": "register[,register…] · #mask"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "inherent", "hd6309": true, "name": "PULUW", "operation": "Pull two bytes into W from U, advancing the pointer by two.", "sources": ["Atkinson (2009), pp. 115", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Registers & Flags", "hd6309": true, "name": "Q", "operation": "Thirty-two-bit accumulator. From most to least significant its bytes are A, B, E, F. D is the high word and W the low word.", "sources": ["Burke (1993), register file"]},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "REORG", "operation": "Restore the location associated with the previous ORG.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "REORG"},
{"aliases": [".BLKB", ".DS", ".RS"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "RMB", "operation": "Advance the location counter by a number of bytes. Use ZMB when the load image must contain zeros.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "RMB count"},
{"aliases": ["RMW"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "RMD", "operation": "Reserve 16-bit words.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "RMD count"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "RMQ", "operation": "Reserve 32-bit values.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "RMQ count"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C.", "form": "memory", "name": "ROL", "operation": "Operate on a memory byte. Shift left, moving the old carry into bit 0.", "sources": ["Atkinson (2009), pp. 116–117", "Motorola (1981), Appendix A, ROL", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C.", "form": "inherent", "name": "ROLA", "operation": "Operate on register A. Shift left, moving the old carry into bit 0.", "sources": ["Atkinson (2009), pp. 116–117", "Motorola (1981), Appendix A, ROLA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C.", "form": "inherent", "name": "ROLB", "operation": "Operate on register B. Shift left, moving the old carry into bit 0.", "sources": ["Atkinson (2009), pp. 116–117", "Motorola (1981), Appendix A, ROLB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C.", "form": "inherent", "hd6309": true, "name": "ROLD", "operation": "Operate on register D. Shift left, moving the old carry into bit 0.", "sources": ["Atkinson (2009), pp. 116–117", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old top bit. V is N XOR C.", "form": "inherent", "hd6309": true, "name": "ROLW", "operation": "Operate on register W. Shift left, moving the old carry into bit 0.", "sources": ["Atkinson (2009), pp. 116–117", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved.", "form": "memory", "name": "ROR", "operation": "Operate on a memory byte. Shift right, moving the old carry into the top bit.", "sources": ["Atkinson (2009), pp. 118–119", "Motorola (1981), Appendix A, ROR", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved.", "form": "inherent", "name": "RORA", "operation": "Operate on register A. Shift right, moving the old carry into the top bit.", "sources": ["Atkinson (2009), pp. 118–119", "Motorola (1981), Appendix A, RORA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved.", "form": "inherent", "name": "RORB", "operation": "Operate on register B. Shift right, moving the old carry into the top bit.", "sources": ["Atkinson (2009), pp. 118–119", "Motorola (1981), Appendix A, RORB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved.", "form": "inherent", "hd6309": true, "name": "RORD", "operation": "Operate on register D. Shift right, moving the old carry into the top bit.", "sources": ["Atkinson (2009), pp. 118–119", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. C receives the old bit 0. V is preserved.", "form": "inherent", "hd6309": true, "name": "RORW", "operation": "Operate on register W. Shift right, moving the old carry into the top bit.", "sources": ["Atkinson (2009), pp. 118–119", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "Restores saved CC.", "form": "inherent", "name": "RTI", "operation": "Pull CC and the return state from S. Stacked E determines whether to restore a full frame.", "sources": ["Atkinson (2009), pp. 120", "Motorola (1981), Appendix A, RTI", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "inherent", "name": "RTS", "operation": "Pull the return address from S into PC and advance S by two.", "sources": ["Atkinson (2009), pp. 121", "Motorola (1981), Appendix A, RTS", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Addressing Modes", "name": "Relative", "operation": "Add a signed displacement to PC after the operand. Branch targets are labels. Indexed PC-relative data references use PCR in LWASM.", "sources": ["Motorola (1981), ch. 2", "Astle, LWTools 4.25, ch. 3"], "syntax": "BNE again · LDA table,PCR"},
{"category": "Registers & Flags", "name": "S", "operation": "Sixteen-bit hardware stack pointer. JSR, interrupts and PSHS use memory below S. Initialize a writable stack before making a standalone call.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "name": "SBCA", "operation": "Subtract the operand and incoming borrow from A. Write the difference to A.", "sources": ["Atkinson (2009), pp. 122", "Motorola (1981), Appendix A, SBCA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "name": "SBCB", "operation": "Subtract the operand and incoming borrow from B. Write the difference to B.", "sources": ["Atkinson (2009), pp. 122", "Motorola (1981), Appendix A, SBCB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "hd6309": true, "name": "SBCD", "operation": "Subtract the operand and incoming borrow from D. Write the difference to D.", "sources": ["Atkinson (2009), pp. 123", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "The destination selects the width. A word source supplies its low byte to a byte destination. For a word destination A/B supply D, E/F supply W, CC is zero-extended and DP supplies the high byte. PC is undefined in this family. See Atkinson, p. 143.", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "pair", "hd6309": true, "name": "SBCR", "operation": "Subtract source and borrow from destination.", "sources": ["Atkinson (2009), pp. 124", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"aliases": ["SECT", ".AREA"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "SECTION", "operation": "Begin a section in an object module. The linker determines final placement.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "SECTION name"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "SET", "operation": "Assign a symbol a value that later SET statements may change.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "name SET expression"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "SETDP", "operation": "Tell the assembler the assumed direct page. Guest software must establish the matching DP value.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "SETDP page"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "SETSTR", "operation": "Set an assembler string variable.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "SETSTR name=string"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V and C are preserved.", "form": "inherent", "name": "SEX", "operation": "Copy B’s sign bit across A to extend B into D.", "sources": ["Atkinson (2009), pp. 125", "Motorola (1981), Appendix A, SEX", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V and C are preserved.", "form": "inherent", "hd6309": true, "name": "SEXW", "operation": "Copy W’s sign bit across D to extend W into Q.", "sources": ["Atkinson (2009), pp. 126", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "name": "STA", "operation": "Copy A to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 127", "Motorola (1981), Appendix A, STA", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "name": "STB", "operation": "Copy B to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 127", "Motorola (1981), Appendix A, STB", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "CC can change when a destination bit in CC is selected.", "form": "bit", "hd6309": true, "name": "STBT", "operation": "Copy the selected register bit to the destination bit in direct-page memory.", "sources": ["Atkinson (2009), pp. 129", "Astle, LWTools 4.25, ch. 3"], "syntax": "A|B|CC,source bit,destination bit,direct address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "name": "STD", "operation": "Copy D to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 128", "Motorola (1981), Appendix A, STD", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "hd6309": true, "name": "STE", "operation": "Copy E to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 127", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "hd6309": true, "name": "STF", "operation": "Copy F to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 127", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "hd6309": true, "name": "STQ", "operation": "Copy Q to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 130", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "STRUCT", "operation": "Begin a structure layout. Field labels describe offsets in its instances.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "name STRUCT"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "name": "STS", "operation": "Copy S to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 128", "Motorola (1981), Appendix A, STS", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "name": "STU", "operation": "Copy U to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 128", "Motorola (1981), Appendix A, STU", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "hd6309": true, "name": "STW", "operation": "Copy W to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 128", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "name": "STX", "operation": "Copy X to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 128", "Motorola (1981), Appendix A, STX", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "name": "STY", "operation": "Copy Y to the destination address. Multi-byte stores write the high byte first.", "sources": ["Atkinson (2009), pp. 128", "Motorola (1981), Appendix A, STY", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "name": "SUBA", "operation": "Subtract the operand from A. Write the difference to A.", "sources": ["Atkinson (2009), pp. 131", "Motorola (1981), Appendix A, SUBA", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "name": "SUBB", "operation": "Subtract the operand from B. Write the difference to B.", "sources": ["Atkinson (2009), pp. 131", "Motorola (1981), Appendix A, SUBB", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "name": "SUBD", "operation": "Subtract the operand from D. Write the difference to D.", "sources": ["Atkinson (2009), pp. 132", "Motorola (1981), Appendix A, SUBD", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "hd6309": true, "name": "SUBE", "operation": "Subtract the operand from E. Write the difference to E.", "sources": ["Atkinson (2009), pp. 131", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow. H is undefined.", "form": "value", "hd6309": true, "name": "SUBF", "operation": "Subtract the operand from F. Write the difference to F.", "sources": ["Atkinson (2009), pp. 131", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "detail": "The destination selects the width. A word source supplies its low byte to a byte destination. For a word destination A/B supply D, E/F supply W, CC is zero-extended and DP supplies the high byte. PC is undefined in this family. See Atkinson, p. 143.", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "pair", "hd6309": true, "name": "SUBR", "operation": "Subtract source from destination.", "sources": ["Atkinson (2009), pp. 133", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V marks signed overflow. C marks a borrow.", "form": "value", "hd6309": true, "name": "SUBW", "operation": "Subtract the operand from W. Write the difference to W.", "sources": ["Atkinson (2009), pp. 132", "Astle, LWTools 4.25, ch. 3"], "syntax": "#literal · <direct · offset,X · >address"},
{"category": "Instructions", "flags": "E sets. I and F set after stacking.", "form": "inherent", "name": "SWI", "operation": "Save a full interrupt frame on S and fetch the new PC from $FFFA.", "sources": ["Atkinson (2009), pp. 134", "Motorola (1981), Appendix A, SWI", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "E sets. I and F keep their values.", "form": "inherent", "name": "SWI2", "operation": "Save a full interrupt frame on S and fetch the new PC from $FFF4.", "sources": ["Atkinson (2009), pp. 134", "Motorola (1981), Appendix A, SWI", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "E sets. I and F keep their values.", "form": "inherent", "name": "SWI3", "operation": "Save a full interrupt frame on S and fetch the new PC from $FFF2.", "sources": ["Atkinson (2009), pp. 134", "Motorola (1981), Appendix A, SWI", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "CC is preserved.", "form": "inherent", "name": "SYNC", "operation": "Wait for an interrupt request. Even a masked request can release the wait.", "sources": ["Atkinson (2009), pp. 135", "Motorola (1981), Appendix A, SYNC", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"aliases": ["COPY", "COPY+", "COPY-", "TFRP", "TFRM", "IMP", "IMPLODE", "TFRS", "EXP", "EXPAND", "TFRR"], "category": "Instructions", "detail": "LWASM’s alternative spellings take two bare registers. COPY/COPY+/TFRP advance both, COPY-/TFRM retreat both, IMP/IMPLODE/TFRS advance the source and EXP/EXPAND/TFRR advance the destination. In VCC Plus, debugger Step finishes the block. Continue can hit a breakpoint again between bytes.", "flags": "CC is preserved.", "form": "transfer", "hd6309": true, "name": "TFM", "operation": "Copy W bytes between addresses held in D, X, Y, U or S. Each suffix advances, retreats or holds its pointer after a byte. W counts down to zero. Without interruption the transfer costs 6 cycles plus 3 per byte.", "sources": ["Atkinson (2009), pp. 136", "VCC Plus, Native Debugger, HD6309 Step", "Astle, LWTools 4.25, ch. 3"], "syntax": "r+,r+ · r-,r- · r+,r · r,r+"},
{"category": "Instructions", "detail": "Use equal-width registers on the MC6809. The HD6309 has additional registers and defined mixed-width behavior. Writing PC transfers control.", "flags": "Writing CC replaces its flags.", "form": "pair", "name": "TFR", "operation": "Copy the source register to the destination.", "sources": ["Atkinson (2009), pp. 137–138", "Motorola (1981), Appendix A, TFR", "Astle, LWTools 4.25, ch. 3"], "syntax": "source register,destination register"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "maskMemory", "hd6309": true, "name": "TIM", "operation": "Combine the literal mask and the addressed byte with AND. Use the result only to test flags.", "sources": ["Atkinson (2009), pp. 139", "Astle, LWTools 4.25, ch. 3"], "syntax": "#mask,address · #mask,offset,X"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "memory", "name": "TST", "operation": "Operate on a memory byte. Test the value while preserving it.", "sources": ["Atkinson (2009), pp. 140–141", "Motorola (1981), Appendix A, TST", "Astle, LWTools 4.25, ch. 3"], "syntax": "<direct · offset,X · >address"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "inherent", "name": "TSTA", "operation": "Operate on register A. Test the value while preserving it.", "sources": ["Atkinson (2009), pp. 140–141", "Motorola (1981), Appendix A, TSTA", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "inherent", "name": "TSTB", "operation": "Operate on register B. Test the value while preserving it.", "sources": ["Atkinson (2009), pp. 140–141", "Motorola (1981), Appendix A, TSTB", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "inherent", "hd6309": true, "name": "TSTD", "operation": "Operate on register D. Test the value while preserving it.", "sources": ["Atkinson (2009), pp. 140–141", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "inherent", "hd6309": true, "name": "TSTE", "operation": "Operate on register E. Test the value while preserving it.", "sources": ["Atkinson (2009), pp. 140–141", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "inherent", "hd6309": true, "name": "TSTF", "operation": "Operate on register F. Test the value while preserving it.", "sources": ["Atkinson (2009), pp. 140–141", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Instructions", "flags": "N reflects the sign bit. Z marks a zero result. V clears. C is preserved.", "form": "inherent", "hd6309": true, "name": "TSTW", "operation": "Operate on register W. Test the value while preserving it.", "sources": ["Atkinson (2009), pp. 140–141", "Astle, LWTools 4.25, ch. 3"], "syntax": "No operand"},
{"category": "Registers & Flags", "name": "U", "operation": "Sixteen-bit user stack pointer, also available as an index register. PSHU and PULU use this stack.", "sources": ["Motorola (1981), ch. 1"]},
{"aliases": ["HCF", "RHF", "RESET", "HALT", "BREAK", "LOG"], "category": "Dialect & Compatibility", "name": "Undocumented and emulator opcodes", "operation": "LWASM lists HCF, RHF and RESET for certain 6809 encodings. Behavior outside the documented instruction set can differ by chip. BREAK and LOG are emulator extensions. VCC Plus’s Mac decoder also excludes the optional HALT/BREAK encodings.", "sources": ["Atkinson (2009), p. 153", "Astle, LWTools 4.25, ch. 3", "VCC Plus, Native Debugger, disassembly"]},
{"category": "Registers & Flags", "hd6309": true, "name": "V", "operation": "Additional 16-bit HD6309 register used in register operations. CC.V is a separate overflow flag.", "sources": ["Burke (1993), register file"]},
{"category": "Registers & Flags", "hd6309": true, "name": "W", "operation": "Sixteen-bit accumulator combining E (high) and F (low). TFM uses W as a byte count.", "sources": ["Burke (1993), register file"]},
{"aliases": ["MSG"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "WARNING", "operation": "Report a warning with the supplied text.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "WARNING message"},
{"category": "Registers & Flags", "name": "X", "operation": "Sixteen-bit index register. Use X to address a table or traverse bytes.", "sources": ["Motorola (1981), ch. 1"]},
{"category": "Registers & Flags", "name": "Y", "operation": "Sixteen-bit index register. X and Y can walk independent buffers.", "sources": ["Motorola (1981), ch. 1"]},
{"aliases": ["BSZ", "FZB"], "category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ZMB", "operation": "Emit the requested number of zero bytes.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ZMB count"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ZMD", "operation": "Emit zero-filled words.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ZMD count"},
{"category": "LWASM Directives", "detail": "LWASM directive. Its effects take place during assembly.", "name": "ZMQ", "operation": "Emit zero-filled four-byte quantities.", "sources": ["Astle, LWTools 4.25, ch. 3"], "syntax": "ZMQ count"}
]}
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 1192 files, more files were not shown because too many files have changed in this diff. Show more