data transfer are also explained below in the encoding section.
src
src BIT ENCODI NG
(f ssssssss)
WI DT H
(16 or 8)
DESCRIPTION
#k 0 kkkk kkkk 8 k kk kkkkk = Im med iate (Literal) D ata
MN[n] 1 nnnn 0NNN 8/16
nnnn Selects One of Firs t 16 Registers in Module N N N;
where NNN = 0 to 5. Access to Second 16 U sing PFX [n].
AP 1 0000 1000 8 Accumulator Pointer
APC 1 0001 1000 8 Accumulator Pointer Control
PSF 1 0100 1000 8 Proces sor Status Flag Register
IC 1 0101 1000 8 Inter rupt and Control Register
IMR 1 0110 1000 8 Inter rupt Mask Regis ter
SC 1 1000 1000 8 System Control Register
IIR 1 1011 1000 8 Inter rupt Identification Register
CKC N 1 1110 1000 8 C lock Control Register
WDCN 1 1111 1000 8 Watchdog Control Regis ter
A[n] 1 nnnn 1001 8/16 nnnn Selects One of 16 Accumulators
Acc 1 0000 1010 8/16 Active Accumulator = A[AP ]. Up date AP per APC
A[AP] 1 0001 1010 8/16 Active Accumulator = A[AP ]. No change to AP
IP 1 0000 1100 16 Instruction Pointer
@SP- - 1 0000 1101 16 16-Bit Word @SP, Post-Decrement SP
SP 1 0001 1101 16 Stack Pointer
IV 1 0010 1101 16 Inter rupt Vector
LC[n] 1 011n 1101 16 n Selects 1 of 2 Loop Counter Registers
@SPI-- 1 1000 1101 16 16-bit wor d @SP, Post-Decrement SP, INS = 0
@BP[OFFS] 1 0000 1110 8/16 Data Me mory @BP[OFFS]
@BP[OFFS++] 1 0001 1110 8/16 Data memory @BP[OFFS]; Post-Increment OFFS
@BP[OFFS- - ] 1 0010 1110 8/16 Data Me mory @BP[OFFS]; Post-Decrement OFFS
OFFS 1 0011 1110 8 Frame Pointer O ffset from Base Pointer (BP)
D P C 1 0100 1110 16 D ata Pointer Control Register
GR 1 0101 1110 16 General Register
GRL 1 0110 1110 8 Low Byte of GR Regis ter
BP 1 0111 1110 16 Frame Pointer Base Pointer (BP )
GRS 1 1000 1110 16 Byte-Swapped GR Register
GRH 1 1001 1110 8 H igh Byte of GR Regis ter
GRXL 1 1010 1110 16 S i gn Ex tended Low Byte of GR Register
FP 1 1011 1110 16 Frame Pointer (BP [OFFS] )
@DP[n] 1 0n00 1111 8/16 Data Me mory @DP [n ]
@DP[n]++ 1 0n01 1111 8/16 Data Memory @DP [n ], Post-Increment DP [n ]
@DP[n] - - 1 0n10 1111 8/16 D ata Memory @DP [n ], Post-Decrement D P [n]
D P [n] 1 0n11 1111 16 n Selects 1 of 2 Data Pointers
Comentários a estes Manuais