Samsung YP-P10 User Manual Page 90

  • Download
  • Add to my manuals
  • Print
  • Page
    / 596
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 89
ARM INSTRUCTION SET S3C2440A RISC MICROPROCESSOR
3-6
Examples
ADR R0, Into_THUMB + 1 Generate branch target address and set bit 0 high – hence it comes in
THUMB state
BX R0 Branch and change to THUMB state.
CODE16 Assemble subsequent code as
Into_THUMB THUMB instructions
ADR R5, Back_to_ARM Generate branch target to word aligned address
hence bit 0 is low and so change back to ARM state.
BX R5 Branch and change back to ARM state.
ALIGN Word alignment
CODE32 Assemble subsequent code as ARM instructions
Back_to_ARM
Page view 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 595 596

Comments to this Manuals

No comments