
Copyright 2002 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the
stylized Altera logo, specific device designations, and all other words and logos that are identified as
trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera
Corporation in the U.S. and other countries. All other product or service names are the property of their
respective holders. Altera products are protected under numerous U.S. and foreign patents and pending
applications, mask work rights, and copyrights. Altera warrants performance of its
semiconductor products to current specifications in accordance with Altera’s standard
warranty, but reserves the right to make changes to any products and services at any time
without notice. Altera assumes no responsibility or liability arising out of the application
or use of any information, product, or service described herein except as expressly agreed
to in writing by Altera Corporation. Altera customers are advised to obtain the latest
version of device specifications before relying on any published information and before
placing orders for products or services.
Errata Sheet - Appendix A
34
Altera Corporation
101 Innovation Drive
San Jose, CA 95134
(408) 544-7000
http://www.altera.com
Applications Hotline:
(800) 800-EPLD
Literature Services:
lit_req@altera.com
Examples:
MOV(S) PC, Rm, <SHIFTOP> Rs
ADD(S) PC, Rn, Rm, <SHIFTOP> Rs
The only theoretical use for these instructions which has been suggested
would be for a branch table that was organised in powers of 2.
MOV
r0,#0x100
MOV
r1,#0x4
ADD
PC,r0,r1, LSL r2
0x1004:
Code seq1 : 1 instruction
0x1008 -> 0x100C:
Code seq2:2 instructions
0x1010 -> 0x101C:
Code seq3:4 instructions
0x1020 -> 0x103C:
Code seq4:8 instructions
0x1040 -> 0x107C:
Code seq5:16 instructions
0x1080 -> 0x10FC:
Code seq6:32 instructions
0x1100 -> 0x11FC:
Code seq7:64 instructions
0x1200 -> 0x13FC:
Code seq8:128 instructions
To date ARM knows of no examples of an application for a branch table
organised in such a manner. However, if one was required then an
alternative code sequence could be used.