Bar
SpaceWire UK
Specialist providers of VHDL Intellectual Property & Design Services
BarBarBarBar
Raptor-16 Instruction Density
The Raptor-16 Microprocessor executes very dense instruction code that is packed mainly into single words. The listings below show not only the instruction word counts but also give a full list of all the possible Addressing Mode combinations for the entire Instruction Set.



Single Word Instructions
The following Instructions plus their Addressing Modes, Registers and Data Values are all encoded in one single 16-bit word:-

InstQ #n,Dn InstQ #n,An InstQ #n,(An) InstQ #n,-(An)
InstQ #n,(An)+ InstQ #n,Pn InstQ #n,CR

Inst Dn,Dn Inst Dn,An Inst Dn,(An) Inst Dn,-(An)
Inst Dn,(An)+ Inst Dn,Pn Inst Dn,CR

Inst An,Dn Inst An,An Inst An,(An) Inst An,-(An)
Inst An,(An)+ Inst An,Pn Inst An,CR

Inst (An),Dn Inst (An),An Inst (An),(An) Inst (An),-(An)
Inst (An),(An)+ Inst (An),Pn Inst (An),CR

Inst -(An),Dn Inst -(An),An Inst -(An),(An) Inst -(An),-(An)
Inst -(An),(An)+ Inst -(An),Pn Inst -(An),CR

Inst (An)+,Dn Inst (An)+,An Inst (An)+,(An) Inst (An)+,-(An)
Inst (An)+,(An)+ Inst (An)+,Pn Inst (An)+,CR

Inst Pn,Dn Inst Pn,An Inst Pn,(An) Inst Pn,-(An)
Inst Pn,(An)+ Inst Pn,Pn Inst Pn,CR

Inst CR,Dn Inst CR,An Inst CR,(An) Inst CR,-(An)
Inst CR,(An)+ Inst CR,Pn Inst CR,CR

LoadQ #n,Dn LoadQ #n,An

PushL RegList PushU RegList PopL RegList PopU RegList

BInstQ Cond,#n BInstQ Cond,Label BInst Cond,Dn BInst Cond,An
BInst Cond,(An) BInst Cond,-(An) BInst Cond,(An)+ BInst Cond,Pn

Rts Cond Rti Nop

Notes :-


Double Word Instructions
The following Instructions plus their Addressing Modes, Registers and Data Values are all encoded in two 16-bit words:-

Inst #n,Dn Inst #n,An Inst #n,(An) Inst #n,-(An)
Inst #n,(An)+ Inst #n,Pn Inst #n,CR

Inst Addr,Dn Inst Addr,An Inst Addr,(An) Inst Addr,-(An)
Inst Addr,(An)+ Inst Addr,Pn Inst Addr,CR

Inst Dn,Addr Inst An,Addr Inst (An),Addr Inst -(An),Addr
Inst (An)+,Addr Inst Pn,Addr Inst CR,Addr

BInst Cond,#n BInst Cond,Label

Notes :-


Triple Word Instructions
The following Instructions plus their Addressing Modes, Registers and Data Values are all encoded in three 16-bit words:-

Inst #n,Addr Inst Addr,Addr

Notes :-