Echelon Neuron Manual do Utilizador Página 195

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 237
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 194
_mul8s (Multiply Signed, 8 Bit)
This function multiplies two signed integers to produce an integer result.
Stack Transformation: (a, b -- a*b)
Location: Near
Registers Affected: R0
Example:
This example multiplies 50 times 40.
push #d’50 ; (d’50)
push #d’40 ; (d’40, d’50)
call _mul8s ; (d’208, 7)
_mul_8_16 (Multiply, 8 Bit to 16 Bit)
This function multiplies an 8-bit integer and a signed 16-bit integer to produce a
16-bit result.
Stack Transformation: (a, b(2) -- a*b(2))
Location: Near
Registers Affected: R0, P0, P3
Example:
This example multiplies 50 times 40.
pushd #d’50 ; (d’50, 0)
push #d’40 ; (d’40, d’50, 0)
call _mul_8_16 ; (d’208, 7)
_muls_8_16 (Multiply Signed, 8 Bit to 16 Bit)
This function multiplies a signed 8-bit integer and a signed 16-bit integer to
produce a signed 16-bit result.
Stack Transformation: (a, b(2) -- a*b(2))
Location: Near
Registers Affected: R0, P0, P3
Example:
This example multiplies 50 times 40.
pushd #d’50 ; (d’50, 0)
Neuron Assembly Language Reference 185
Vista de página 194
1 2 ... 190 191 192 193 194 195 196 197 198 199 200 ... 236 237

Comentários a estes Manuais

Sem comentários