Motorola CPU32 User Manual Page 163

  • Download
  • Add to my manuals
  • Print
  • Page
    / 646
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 162
Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-59
BSR Branch to Subroutine BSR
(M68000 Family)
Operation: SP – 4 SP; PC (SP); PC + d
n
PC
Assembler
Syntax: BSR < label >
Attributes: Size = (Byte, Word, Long*)
*(MC68020, MC68030, MC68040 only)
Description: Pushes the long-word address of the instruction immediately following the
BSR instruction onto the system stack. The program counter contains the address of
the instruction word plus two. Program execution then continues at location (PC) +
displacement. The displacement is a twos complement integer that represents the
relative distance in bytes from the current program counter to the destination program
counter. If the 8-bit displacement field in the instruction word is zero, a 16-bit
displacement (the word immediately following the instruction) is used. If the 8-bit
displacement field in the instruction word is all ones ($FF), the 32-bit displacement
(long word immediately following the instruction) is used.
Condition Codes:
Not affected.
Instruction Format:
1514131211109876543210
01100001 8-BIT DISPLACEMENT
16-BIT DISPLACEMENT IF 8-BIT DISPLACEMENT = $00
32-BIT DISPLACEMENT IF 8-BIT DISPLACEMENT = $FF
Page view 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 645 646

Comments to this Manuals

No comments