Texas-instruments TMS320C3x Manuel d'utilisateur Page 543

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 757
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 542
Call Subroutine
CALL
13-85
Assembly Language Instructions
Syntax CALL
src
Operation Next PC *++SP
src
PC
Operands
src
long-immediate addressing mode
Opcode
31 24 23 16 8 7 015
01100 0
10
src
Description A call is performed. The next PC value is pushed onto the system stack. The
src
operand is loaded into the PC. The
src
operand is assumed to be a 24-bit
unsigned-immediate operand. Since the CALL instruction takes 4 cycles to
execute, the pipeline is flushed.
Cycles 4
Status Bits LUF Unaffected
LV Unaffected
UF Unaffected
N Unaffected
Z Unaffected
V Unaffected
C Unaffected
OVM Operation is not affected by OVM bit value.
Example CALL 123456h
Before Instruction After Instruction
PC 0005 PC 123456
SP 809801 SP 809802
LUF 0 LUF 0
LV 0 LV 0
UF 0 UF 0
N 0 N 0
Z 0 Z 0
V 0 V 0
C 0 C 0
Data memory
809802h 6
Mode Bit
Vue de la page 542
1 2 ... 538 539 540 541 542 543 544 545 546 547 548 ... 756 757

Commentaires sur ces manuels

Pas de commentaire