Echelon Neuron Manuale Utente Pagina 44

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 237
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 236 237

Commenti su questo manuale

Nessun commento