title: Unable to compile arm assembly file with armasm
body: <p>I'm using libmpeg2 for showing video in my pocket pc project. Last release of this lib has acceleration for ARM processor,  some of the functions are rewritten in arm assembly (in separate file motion_comp_arm_s.S).
  The problem is armasm from Visual Studio 9 cant compile it, producing a lot of errors. My question is, which arm assembly compiler is suitable for such code?
     <pre><code>
      .text</p>
  
  <p>@ ----------------------------------------------------------------
      .align
      .global MC_put_o_16_arm
  MC_put_o_16_arm:
      @@ void func(uint8_t * dest, const uint8_t * ref, int stride, int height)
      pld [r1]
          stmfd sp!, {r4-r11, lr} @ R14 is also called LR
      and r4, r1, #3
      adr r5, MC_put_o_16_arm_align_jt
      add r5, r5, r4, lsl #2
      ldr pc, [r5]
     </pre></code>
  ...</p>
  
  <p>Thank you for any help</p>