•  Back 
  •  Assembler 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure Assembler Documentation
Author      : John Kormylo
Version     : PASM.HYP 1.0
Subject     : Documentation/Pure Assembler
Nodes       : 740
Index Size  : 20262
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Program Counter ]

This is a 32 bit register used to contain the address of the next
instruction to be executed.  (Instructions must always begin on an
even address.)  It is automatically incremented when the program
executes.

Bcc, BRA, and JMP instructions simply change the value of the
Program Counter.  The BSR and JSR instructions push the
Program Counter onto the stack first, so that the RTS instruction can
later restores the Program Counter from the stack.

See also Address Registers and Stack Pointer.