English
Language : 

EPXA4 Datasheet, PDF (34/34 Pages) Altera Corporation – Excalibur Devices
Errata Sheet - Appendix A
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
MOV
ADD
0x1004:
0x1008 -> 0x100C:
0x1010 -> 0x101C:
0x1020 -> 0x103C:
0x1040 -> 0x107C:
0x1080 -> 0x10FC:
0x1100 -> 0x11FC:
0x1200 -> 0x13FC:
r0,#0x100
r1,#0x4
PC,r0,r1, LSL r2
Code seq1 : 1 instruction
Code seq2:2 instructions
Code seq3:4 instructions
Code seq4:8 instructions
Code seq5:16 instructions
Code seq6:32 instructions
Code seq7:64 instructions
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.
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
34
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.
Altera Corporation