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

assembly coding in keil

hi!

i tried buliding target in keil in assembly language and it gave a cryptic error..
can anyone help me figure out how to build target or run a assembly language written code in keil... i can well do it in C but unable to figure it out using assembly....
Thanks.

Parents
  • resp. sir,
    in keil mVISION3 ,i am using realview tool and for new project i opted device LPC2101 of phlips.and added to it the 'startup.s' file then the file with my assemble code i added,which was a ".s" file.containing
    TTL ch4ex1 - move16
    AREA Program,CODE,READONLY
    Main
    LDRB R1,Value
    STR R1,Result
    SWI &11

    Value DCW &C123
    ALIGN
    Result DCW 0

    END
    i then builded the target and found the following error:
    undefined symbol _main(referred frm startup.o)
    indefinrd symbol _use_two_region_memory (referred frm startup.o)
    whics is same when i posted my first query.
    can you please help me getting the taget bulid and also tell me if i am reght that we can use "keil microvision3" for assembly language coding of embeded systems.

Reply
  • resp. sir,
    in keil mVISION3 ,i am using realview tool and for new project i opted device LPC2101 of phlips.and added to it the 'startup.s' file then the file with my assemble code i added,which was a ".s" file.containing
    TTL ch4ex1 - move16
    AREA Program,CODE,READONLY
    Main
    LDRB R1,Value
    STR R1,Result
    SWI &11

    Value DCW &C123
    ALIGN
    Result DCW 0

    END
    i then builded the target and found the following error:
    undefined symbol _main(referred frm startup.o)
    indefinrd symbol _use_two_region_memory (referred frm startup.o)
    whics is same when i posted my first query.
    can you please help me getting the taget bulid and also tell me if i am reght that we can use "keil microvision3" for assembly language coding of embeded systems.

Children
No data