Echelon Neuron Instrukcja Użytkownika Strona 192

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 237
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 191
Location: Near
Registers Affected: None
Example:
This example gets the minimum of -8 and 2.
pushd #d’2 ; (d’2, 0)
pushd #@lb(-d’8) ; (-d’8, -d’1, d’2, 0)
call _min16s ; (-d’8, -d’1)
_min8 (minimum Value, 8 Bit)
This function computes the minimum of two unsigned integers.
Stack Transformation: (a, b -- min(a,b))
Location: Near
Registers Affected: None
Example:
This example gets the minimum of 8 and 2.
pushs #d’2 ; (d’2)
push #d’8 ; (d’8, d’2)
call _min8 ; (d’2)
_min8s (Minimum Signed Value, 8 Bit)
This function computes the minimum of two signed integers.
Stack Transformation: (a, b -- min(a,b))
Location: Near
Registers Affected: None
Example:
This example gets the minimum of -8 and 2.
pushs #d’2 ; (d’2)
push #@lb(-d’8) ; (-d’8, d’2)
call _min8s ; (-d’8)
_minus16s (Negative Signed Value, 16 Bit)
This function negates a signed 16-bit integer.
182 System-Provided Functions
Przeglądanie stron 191
1 2 ... 187 188 189 190 191 192 193 194 195 196 197 ... 236 237

Komentarze do niniejszej Instrukcji

Brak uwag