• working with right shift operators in C
    I am facing a problem in using the right shift operator in C with keil. The instruction is:for(i=0;i<=8;i++) { j=sum>>i; } where sum= 32 bit no. the instruction is not executed if the syntax is as...
  • NEON-How to shift the whole D or Q to left or right?
    Note: This was originally posted on 12th July 2012 at http://forums.arm.com Hello    Base on NEON instuction set, I can find the VSHL or VSHR to perform shift operation. But it is just for every element...
  • MAC simulator shift bugs CoSHL , CoSHR , CoASHR
    The MAC shift operations in the simulator that comes with v4.23 need fixing. Shifts of 0 to 7 do nothing. Shifts of 8 to 15 shift by 1. Shifts of 16 to 24 shift by 2. Shifts of 25 to 31 shift by...
  • shift operator
    When compiling with Realview : unsigned long x; x = 1<<31; I get the message: Main.c(121): warning: #61-D: integer operation result is out of range Main.c(121): warning: #68-D: integer...
  • shift with ">>" in c51 ...
    some time c user do shift for mul and divide and some time u write byte to byte then not require any carry for me in asm i do two shift mul 4 i do it with c51 ypos3 = ypos>>3; ; SOURCE LINE...