Echelon Neuron Manual de usuario Pagina 207

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 237
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 206
Mnemonic Operand Operation Description
ALLOC #literal [DSP+1] = TOS
DSP = DSP + literal
IP = IP+1
Move DSP by literal.
Literal range is 1 to 8.
AND
TOS = TOS & [DSP--]
C = 0
IP = IP+1
Bitwise AND of TOS and
NEXT. Drop NEXT.
AND #literal TOS = TOS & LITERAL
C = 0
IP = IP+2
AND literal with TOS.
AND_R TOS = TOS & [DSP--]
C = 0
Return
Bitwise AND of TOS and
NEXT. Drop NEXT. Return to
caller.
BR label IP = IP+SD
IP = IP+2
Branch always.
The IP-relative displacement
SD ranges from -128 to 127.
BRC label IF (CARRY)
IP = IP+SD
IP = IP+2
Branch on carry.
The IP-relative displacement
SD ranges from -128 to 127.
BRF label IP = absolute address Branch far.
BRNC label IF (!CARRY)
IP = IP+SD
IP = IP+2
Branch on not carry.
The IP-relative displacement
SD ranges from -128 to 127.
BRNEQ #literal, label IF [TOS <> literal]
IP = IP+SD
ELSE
TOS = [DSP--]
IP = IP+3
Branch if TOS not equal to
constant. Else drop TOS.
BRNZ label IF TOS <> 0
IP = IP+SD
TOS = [DSP--]
IP = IP+2
Drop TOS, branch if TOS not
zero.
The IP-relative displacement
SD ranges from -128 to 127.
Neuron Assembly Language Reference 197
Vista de pagina 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 236 237

Comentarios a estos manuales

Sin comentarios