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

1000BYTES RESTRICTED KEIL C EDITION

hi
all iam woring on keilc of restricted 1000bytes programme ,actually i implemented
programme in c and assembly but i would like to add some more c code to my project but
its not accepting if it crosses 1000bytes
programme code.
so now i tried to convert my c programme
to assembly using src directive but when i compiled .src file +asm file iam not getting any errors but at the same time results are not coming whats this problem.
how can i convert c programme to asm
good suggetions are welcomed

regards
robert w

Parents
  • "I am working on keil C of restricted 1000 bytes programme"

    Not sure where you get that figure of 1000 from; the limit is 2K object size, and 16K source size for editing:
    http://www.keil.com/demo/limits.htm

    "its not accepting if it crosses 1000 bytes programme code. so now I tried to convert my C programme to assembly"

    How will that help?
    The limits apply to the Compiler, Assembler, and Linker:

    "Programs that generate more than 2 Kbytes of object code will not compile, assemble, or link."
    http://www.keil.com/demo/limits.htm

    SO it makes no difference whether your source is 'C' or assembler; if the total object size is over the limit, the Linker won't allow it!

Reply
  • "I am working on keil C of restricted 1000 bytes programme"

    Not sure where you get that figure of 1000 from; the limit is 2K object size, and 16K source size for editing:
    http://www.keil.com/demo/limits.htm

    "its not accepting if it crosses 1000 bytes programme code. so now I tried to convert my C programme to assembly"

    How will that help?
    The limits apply to the Compiler, Assembler, and Linker:

    "Programs that generate more than 2 Kbytes of object code will not compile, assemble, or link."
    http://www.keil.com/demo/limits.htm

    SO it makes no difference whether your source is 'C' or assembler; if the total object size is over the limit, the Linker won't allow it!

Children
No data