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

23 Jaguar RISC cpu module

This chapter documents the backend for the Atari Jaguar GPU/DSP RISC processor.

23.1 Legal

This module is written in 2014-2015 by Frank Wille and is covered by the vasm copyright without modifications.

23.2 Additional options for this module

This module provides the following additional options:


Output big-endian code and data (default).


Output little-endian code and data.


Generate code for GPU or DSP RISC. All instructions are accepted (default).


Generate code for the DSP RISC (part of Jerry).


Generate code for the GPU RISC (part of Tom).

23.3 General

This backend accepts RISC instructions for the GPU or DSP in Atari’s Jaguar custom chip set according to the "Jaguar Technical Reference Manual for Tom & Jerry", Revision 8. Documentation bugs were fixed by using various sources on the net.

The target address type is 32 bits.

Default alignment for instructions is 2 bytes. Data is aligned to its natural alignment by default.

23.4 Optimizations

This backend performs the following optimizations and translations for the GPU/DSP RISC instruction set:

23.5 Extensions

This backend extends the selected syntax module by the following directives (note that a leading dot is optional):

<symbol> ccdef <expression>

Allows defining a symbol for the condition codes used in jump and jr instructions. Must be constant number in the range of 0 to 31 or another condition code symbol.

ccundef <symbol>

Undefine a condition code symbol previously defined via ccdef.


Select DSP instruction set.

<symbol> equr <Rn>

Define a new symbol named <symbol> and assign the address register Rn to it. <Rn> may also be another register symbol. Note that a register symbol must be defined before it can be used.

equrundef <symbol>

Undefine a register symbol previously defined via equr.


Select GPU instruction set.

<symbol> regequ <Rn>

Equivalent to equr.

regundef <symbol>

Undefine a register symbol previously defined via regequ.

All directives may be optionally preceded by a dot (.), for compatibility with various syntax modules.

23.6 Known Problems

Some known problems of this module at the moment:

23.7 Error Messages

This module has the following error messages:

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