Maxim-integrated MAXQ7667 Manual do Utilizador Página 318

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 347
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 317
__________________________________________________________________________________________________________ 19-4
MAXQ7667 Users Guide
MNEMONIC DESCRIPTION
16-BIT IN STRUC TION
WORD
STATUS BITS
AFFECTED
AP
INC/DEC
NOTES
{L/S}JUMP sr c IP IP + s rc or s rc f000 1100 sss s s sss 6
{L/S}JUMP C, s rc If C =1, I P ( IP + s rc) or src f010 1100 ss s s s sss 6
{L/S}JUMP NC, src If C= 0, I P ( IP + src) or s rc f110 1100 ss ss ssss 6
{L/S}JU MP Z, s r c If Z= 1, I P (IP + src) or s rc f001 1100 s ss s s sss 6
{L/S}JU MP NZ, sr c If Z= 0, I P (IP + s rc) or src f10 1 11 00 ss ss ssss 6
{L/S}JU MP E, s r c If E= 1, I P (IP + src) or s rc 00 11 110 0 s s ss s sss 6
{L/S}JU MP NE, sr c If E= 0, I P (IP + s rc) or src 0111 11 0 0 s ss s s sss 6
{L/S}JU MP S, s r c If S= 1, I P (IP + src) or s rc f100 1100 s ss s s sss 6
{L/S}DJN Z LC[n], src If -- LC[n] < > 0, I P (I P + s r c) or src f10 n 11 01 ss ss ssss 6
{L/S}CAL L s rc @++SP IP+1 ; I P (IP+s rc) or src f011 1101 s ss s s sss 6,7
RET IP @SP-- 1000 110 0 0 000 1101
RET C If C=1 , IP @SP-- 10 10 110 0 0 000 1101
RET N C If C=0 , I P @SP-- 11 10 110 0 0 000 1101
RET Z If Z= 1, I P @SP-- 10 01 110 0 0 000 1101
RET N Z If Z= 0, I P @SP-- 11 01 110 0 0 000 1101
RET S If S= 1, I P @SP-- 11 00 110 0 0 000 1101
RETI IP @ SP-- ; IN S 0 1000 110 0 1 000 1101
RETI C If C =1 , I P @S P-- ; INS 0 1010 110 0 100 0 1101
RETI NC If C =0 , I P @S P-- ; INS 0 1110 110 0 100 0 1101
RETI Z If Z=1, I P @SP-- ; IN S 0 1001 110 0 1 000 1101
RETI NZ If Z=0, I P @SP-- ; IN S 0 1101 110 0 1 000 1101
BRANCHING
RETI S If S=1, I P @SP-- ; IN S 0 1100 110 0 1 000 1101
XCH Swap Acc bytes 1000 101 0 1000 1010 S
Y
XCHN Swap n ibbles i n ea ch Acc byte 1000 101 0 0 111 1010 S
Y
MOVE dst, src dst s rc fddd dd dd s ss s s ss s C, S, Z, E
(Note 8)
7, 8
PUSH s rc @++SP sr c f000 1101 s ss s s sss 7
POP ds t ds t @SP-- 1ddd d ddd 0 000 1101 C, S, Z, E 7
DATA
TRANSFER
POPI dst ds t @SP-- ; INS 0 1ddd d ddd 1 000 1101 C, S, Z, E 7
CMP sr c E ( Ac c = src ) f111 1000 s ss s s sss E
NOP No oper at ion 1101 101 0 0011 1010
Table 19-1. MAXQ7667 Instruction Set Summary (continued)
Note 1: The active accumulator (Acc) is not allowed as the src in operations where it is the implicit destination.
Note 2: Only module 8 and modules 0-5 (when implemented for a given product) are supported by these single-cycle bit operations.
Potentially affects C or E if PSF register is the destination. Potentially affects S and/or Z if AP or APC is the destination.
Note 3: The terms Acc and A[AP] can be used interchangeably to denote the active accumulator.
Note 4: Any index represented by <b> or found inside [ ] brackets is considered variable, but required.
Note 5: The active accumulator (Acc) is not allowed as the dst if A[AP] is specified as the src.
Note 6: The '{L/S}' prefix is optional.
Note 7: Instructions that attempt to simultaneously push/pop the stack (e.g. PUSH @SP--, PUSH @SPI--, POP @++SP, POPI @++SP)
or modify SP in a conflicting manner (e.g., MOVE SP, @SP--) are invalid.
Note 8: Special cases: If ‘MOVE APC, Acc’ sets the APC.CLR bit, AP will be cleared, overriding any autoinc/dec/modulo operation
specified for AP. If ‘MOVE AP, Acc’ causes an autoinc/dec/modulo operation on AP, this overrides the specified data transfer
(i.e., Acc will not be transferred to AP).
Vista de página 317
1 2 ... 313 314 315 316 317 318 319 320 321 322 323 ... 346 347

Comentários a estes Manuais

Sem comentários