Echelon Neuron Manuel d'utilisateur Page 44

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 237
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 43
instruction pointer IP. Some instructions that use relative addressing support
signed distances (that is, support branching in both directions), while other
instructions support relative addressing for positive distances only (only jump
forward).
Unlike absolute addresses, which always require a 16-bit value, relative
addresses support shorter branch distances with the benefit of more compact
machine code, which benefits both the memory footprint and execution time.
Example:
loop ...
brz loop ;
The brz instruction branches to the relative address provided in its operand if
the instruction’s argument, the value in TOS, is zero. If TOS is not zero, this
conditional branch does not occur, and execution continues with the next
instruction that follows brz.
34 Neuron Architecture for Neuron Assembly Programming
Vue de la page 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 236 237

Commentaires sur ces manuels

Pas de commentaire