Re: reset address

From: David Panariti (David.Panariti@compaq.com)
Date: Fri Jun 22 2001 - 12:00:22 EDT


Since non-word addrs are illegal, ARM chose not to waste the low order
bits, so the branch addr is a word addr. Also, while an instruction is
executing, PC is the addr of the instruction + 8. So a PC relative branch
from addr 0 has its destination is computed thus:

>>> hexl(0x87 * 4 + 8)
0x224

regards,

davep



This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:02 EST