Subject:
|
size of programs
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Mon, 14 Feb 2000 13:24:58 GMT
|
Viewed:
|
1938 times
|
| |
| |
Hi
Is there an easy way of calculating the exact size of a program in
bytes (for NQC). I would like to know how much I've got available for
the datalog when the program is downloaded.
The "dots" in the download-process, do they signify anything, or are
they just "dots"?
Knut - fairly new at this
--
-------------------------------------
"I find your lack of faith disturbing"
-------------------------------------
http://www-ia.hiof.no/~knuthaug/
|
|
Message has 2 Replies: | | Re: size of programs
|
| If you use RcxCC, look at the code listing. At the bottom of each task you will find the address of the last OP code. Just total them up and you have the size. If you don't have RcxCC, just use the -L option to generate the code listing. --- DonC (...) (25 years ago, 14-Feb-00, to lugnet.robotics.rcx.nqc)
| | | Re: size of programs
|
| (...) As mentioned in another post you can add up the sizes of each task/sub in the listing. I know this is tedious. I was considering adding a diagnostic message after download that would show the total number of bytes downloaded. Anyone have (...) (25 years ago, 15-Feb-00, to lugnet.robotics.rcx.nqc)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|