title: "Error: operand out of range" when using PPC assembler
body: <p>I have bulit gcc cross compiler/assembler/linker with 'powerpc-eabi' as TARGET in windows using cygwin. When assembling, I am getting the following error ....</p>
  
  <pre><code>code/sfiles/init_evh.s: Assembler messages:
  code/sfiles/init_evh.s:381: Error: operand out of range (0x0000fffd is not between 0xffff8000 and 0x00007fff)
  </code></pre>
  
  <p>But, in that line number,  the following instruction is there:</p>
  
  <pre><code>addi  r2,0,0xFFFD
  </code></pre>
  
  <p>I am using the follwing command for assembly:</p>
  
  <pre><code>c:/cygwin/home/cdot/powerpc/bin/powerpc-eabi-as -mbig-endian -m603 -mregnames --
  defsym _NDI_=1 --defsym _DBGR_ON_=1 --defsym DEBUG=1 --defsym _PARAM_DEBUG_=1 --
  defsym _NIU_=1 -gdwarf-2 -I code/hfiles -o build/niu_ndi_dbgr_init_evh.o code/sf
  iles/init_evh.s 2&gt;build/niu_ndi_dbgr_init_evh.err
  </code></pre>
  
  <p>I would like to know why the above error appear.</p>
  
  <p>Please help in this direction.</p>