Echelon Neuron Instrukcja Użytkownika Strona 194

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 237
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 193
Stack Transformation: (a(2), b(2) -- a(2)*b(2))
Location: Near
Registers Affected: R0, P0, P3
Example:
This example multiplies 50 times 40.
pushd #d’50 ; (d’50, 0)
pushd #d’40 ; (d’40, 0, d’50, 0)
call _mul16 ; (d’208, 7)
_mul16s (Multiply Signed, 16 Bit)
This function multiplies two 16-bit signed integers to produce a 16-bit result.
Stack Transformation: (a(2), b(2) -- a(2)*b(2))
Location: Near
Registers Affected: R0, P0, P3
Example:
This example multiplies 50 times 40.
pushd #d’50 ; (d’50, 0)
pushd #d’40 ; (d’40, 0, d’50, 0)
call _mul16s ; (d’208, 7)
_mul8 (Multiply, 8 Bit)
This function multiplies two 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 _mul8 ; (d’208, 7)
184 System-Provided Functions
Przeglądanie stron 193
1 2 ... 189 190 191 192 193 194 195 196 197 198 199 ... 236 237

Komentarze do niniejszej Instrukcji

Brak uwag