[ << ] [ >> ]           [] [] [] [ ? ]

22 6800 cpu module

This chapter documents the backend for the Motorola 6800 microprocessor family.


22.1 Legal

This module is written in 2013-2016 by Esben Norby and Frank Wille and is covered by the vasm copyright without modifications.


22.2 Additional options for this module

This module provides the following additional options:

-m6800

Generate code for the 6800 CPU (default setting).

-m6801

Generate code for the 6801 CPU.

-m68hc11

Generate code for the 68HC11 CPU.


22.3 General

This backend accepts 6800 family instructions for the following CPUs:

The 6804, 6805, 68HC08 and 6809 are not supported, they use a similar instruction set, but are not opcode compatible.

The target address type is 16 bit.

Instructions consist of one up to five bytes and require no alignment. There is also no alignment requirement for sections and data.


22.4 Extensions

This backend provides the following specific extensions:


22.5 Optimizations

None.


22.6 Known Problems

Some known problems of this module at the moment:


22.7 Error Messages

This module has the following error messages:


[ << ] [ >> ]           [] [] [] [ ? ]