Re: Problems on debugging ARM assembly code




This Newsgroup is for XPe not Windows CE or Mobil 5.

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit

"Cornel Gligan" <a@xxx> wrote in message news:u6OUtYDXIHA.4684@xxxxxxxxxxxxxxxxxxxxxxx
Hello!

I am working on a project (a library) for Windows Mobile 5 and I really need to optimise a function using assembly language for ARM.

I wrote an .asm file where I placed the assembly code for my function. I managed to compile that file (using a custom build command line - help found here: http://blogs.msdn.com/jeffabraham/archive/2005/03/31/404283.aspx) and to link the resulted obj to the library. I run in debug mode a test application that used my library. I managed to debug my assembly code using "Disassembly" window. It is very difficult to understand the optimised code and to debug it; this is why I commented the code very well. Unfortunately I can not see any of my comments in "Disassembly" window and it is very difficult in this case to find the bugs.

Is there a possibility to see all my comments when I debug in assembly code?

Here is the custom build command line used to compile the .asm file:

armasm -o "Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Debug\MyAsmFile.obj"

I am using Windows XP PRO, Visual Studio 2005 (Visual C++).

Thank you in advance!

Best regards,
Cornel Gligan


.



Relevant Pages

  • Re: edit box population in a dialog box
    ... A desire to learn assembly code is one thing, but trying to justify assembly code as being ... Windows doesn't have the equivalent of ksh. ... There are few programming languages ... more horrific, badly-designed, and destructively idiosyncratic than the various Unix shell ...
    (microsoft.public.win32.programmer.gdi)
  • Re: how to turn off NX bit in assembly?
    ... I want to turn off AMD64 NX bit in assembly code(at&t syntax or gcc ... inline code). ... I don't think the OS (Windows and Linux) would allow you to mess ... under Linux you'd call mprotectwith the appropriate ...
    (alt.lang.asm)
  • Re: test if a string is a valid number?
    ... There is very little assembly code in the Windows sources. ... It won't compiler in Win64 because the Win64 compiler does not support the _asm directive! ...
    (microsoft.public.vc.mfc)
  • Re: how to turn off NX bit in assembly?
    ... I want to turn off AMD64 NX bit in assembly code(at&t syntax or gcc ... inline code). ... I don't think the OS (Windows and Linux) would allow you to mess ...
    (alt.lang.asm)
  • Re: PB 5.0: Image only boots 99%
    ... When booting the debug version with the AMD Geode x86 image ... When booting the debug version (on target) with the x86 image exactly the ... The Windows CE logo is shown with the ... The progress bar is only 2% filled up and then ...
    (microsoft.public.windowsce.platbuilder)

Quantcast