CP3BT26

Table 5 Instruction Set Summary

Mnemonic

Operands

Description

 

 

 

 

 

 

RETX

 

Return from exception

 

 

 

PUSH

imm, Rsrc, RA

Push “imm” number of registers on user stack, starting

 

 

with Rsrc and possibly including RA

 

 

 

POP

imm, Rdest, RA

Restore “imm” number of registers from user stack,

 

 

starting with Rdest and possibly including RA

 

 

 

POPRET

imm, Rdest, RA

Restore registers (similar to POP) and JUMP RA

 

 

 

LOADi

disp(Rbase), Rdest

Load (register relative)

 

 

 

 

abs, Rdest

Load (absolute)

 

 

 

 

(Rindex)abs, Rdest

Load (absolute index relative)

 

 

 

 

(Rindex)disp(RPbasex), Rdest

Load (register relative index)

 

 

 

 

disp(RPbase), Rdest

Load (register pair relative)

 

 

 

LOADD

disp(Rbase), Rdest

Load (register relative)

 

 

 

 

abs, Rdest

Load (absolute)

 

 

 

 

(Rindex)abs, Rdest

Load (absolute index relative)

 

 

 

 

(Rindex)disp(RPbasex), Rdest

Load (register pair relative index)

 

 

 

 

disp(RPbase), Rdest

Load (register pair relative)

 

 

 

STORi

Rsrc, disp(Rbase)

Store (register relative)

 

 

 

 

Rsrc, disp(RPbase)

Store (register pair relative)

 

 

 

 

Rsrc, abs

Store (absolute)

 

 

 

 

Rsrc, (Rindex)disp(RPbasex)

Store (register pair relative index)

 

 

 

 

Rsrc, (Rindex)abs

Store (absolute index)

 

 

 

STORD

RPsrc, disp(Rbase)

Store (register relative)

 

 

 

 

RPsrc, disp(RPbase)

Store (register pair relative)

 

 

 

 

RPsrc, abs

Store (absolute)

 

 

 

 

RPsrc, (Rindex)disp(RPbasex)

Store (register pair index relative)

 

 

 

 

RPsrc, (Rindex)abs

Store (absolute index relative)

 

 

 

STOR IMM

imm4, disp(Rbase)

Store unsigned 4-bit immediate value extended to operand

 

 

length in memory

 

imm4, disp(RPbase)

 

 

 

 

 

 

imm4, (Rindex)disp(RPbasex)

 

 

 

 

 

imm4, abs

 

 

 

 

 

imm4, (Rindex)abs

 

 

 

 

LOADM

imm3

Load 1 to 8 registers (R2-R5, R8-R11) from memory

 

 

starting at (R0)

 

 

 

LOADMP

imm3

Load 1 to 8 registers (R2-R5, R8-R11) from memory

 

 

starting at (R1, R0)

 

 

 

STORM

STORM imm3

Store 1 to 8 registers (R2-R5, R8-R11) to memory starting

 

 

at (R2)

 

 

 

www.national.com

22

Page 22
Image 22
National CP3BT26 manual Retx, Push, Popret, Loadd, Stord, Stor IMM, Loadmp, Storm