• Pseudocode for saturation (Oh no, not again)
    In some instruction descriptions there are calls to SignedSatQ (directly or indirectly). The pseudocode for SignedSatQ: (bits(N), boolean) SignedSatQ(integer i, integer N) if i > 2^(N-1) - 1 then...
  • ARM7TDMI: SUBS vs SUB + CMP
    Note: This was originally posted on 2nd April 2009 at http://forums.arm.com Hi, I have a question regarding the SUBS instruction and how it compares to SUB and CMP (due to unexpected behavior in a C-program...
  • In cortex-A7 it has 8 stages pipeline, so PC's value is current program address add how many?
    In cortex-A7 it has 8 stages pipeline, so PC's value is current program address add how many bytes?
  • Question about a code snippet on ARM, Thumb state change
    Hi, I find the following code snippet online on ARM state change. Although that whole material looks solid, the second line in the blue code below is puzzling. add R1,PC,#1 ;Load address of SUB_BRANCH...
  • Why does ARM Branch with Link (BL) instruction considers prefetch?
    Hi, When I read the words below dot line, I don't understand why "R14 is adjusted to allow for the prefetch" Could you explain it to me? Thanks, ....... Branch with Link (BL) writes the old PC into the...