This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASM Programming - PLEASE HELP

Hello,

I'm trying to create an application using ONLY assembly language. The program I create assembles dine. The problem is with the linker. Every time, no matter what other files I inlude in the source group, I always get some or the other error. The most common error is L6320W. If you want specifics, I'll let you know. But I've got loads of errors, so not posting all of them.(Please ask if you want to know the others)

Please can anyone guide me on this??? Just tell me the correct procedure to follow. Any help will be appreciated as I'm getting pretty desperate now. I'm using MDK-Lite Version 4.21

Parents
  • @Westonsupermare Pier- Thanks for asking.

    It was a very simple program, just for learning the ropes of ARM(I'm just beginning to learn how to use ARM) I think I got the solution. By properly adding source file data(copy pasted) into my assembly file, the relevant file is assembled and linked properly. I checked on the debugger, and proper opcodes are being generated as per my program.

    However I have just one more question. In 8051 we used ORG directive to specify the absolute address of CODE or DATA. Any idea how to do this in ARM? Is there a directive for this, or do I have to use linker functions, like scatter loading file( got this from the KEIL uVision HELP).

Reply
  • @Westonsupermare Pier- Thanks for asking.

    It was a very simple program, just for learning the ropes of ARM(I'm just beginning to learn how to use ARM) I think I got the solution. By properly adding source file data(copy pasted) into my assembly file, the relevant file is assembled and linked properly. I checked on the debugger, and proper opcodes are being generated as per my program.

    However I have just one more question. In 8051 we used ORG directive to specify the absolute address of CODE or DATA. Any idea how to do this in ARM? Is there a directive for this, or do I have to use linker functions, like scatter loading file( got this from the KEIL uVision HELP).

Children