3 ms·
> Explicit access to PC as a register, makes "computed goto" trivial and very natural. Am I right in thinking ARM uses this model? I haven't worked on them sin
by stusmith1977 15y ago
> Explicit access to PC as a register, makes "computed goto" trivial and very natural.
Am I right in thinking ARM uses this model? I haven't worked on them since ARM2, but I have a hazy recollection...
- dasmoth 15y agoYes it does. (Thinks of a typical SWI handler...)
- Symmetry 15y agoSort of. R15 is the PC, but you also have branch instructions which have very large literal values which in practice you'll always use. http://www.wss.co.uk/pinknoise/ARMinstrs/ARMinstrs.html#Branch http://www.wss.co.uk/pinknoise/ARMinstrs/ARMinstrs.html#Bran...