B
buck
I haven't programmed in a VERY long time and I never was much good at
it anyway. From this you can accurately imply that I'm the wrong
person to be doing this. However:
I have been tasked to determine the feasibility of updating 13 year
old (pre ANSI) ASM and C source code for the purpose of compiling a
64-bit executable.
The source code was last modified in November of 1998 and was compiled
using C88 v3.03 and ASM88 v1.5, which are copyright Mark DeSmet 1987
and 1986 respectively.
Are there any utilities that examine old C code and suggest how to
make it compliant with current compilers? I tried splint v3.1.2, but
it crashes on line 110 of 824 lines and does not tell me how to
correct the errors and warnings it does find.
Are there any utilities that examine 8086 ASM code and explain what to
change to make it compile for a 64-bit CPU? I type 'debug' in a CMD
prompt in Vista in order to see the register names, but (of course)
Vista has no DEBUG...
One of the things I'm completely stuck on is the difference in char.
In the existing source code and with C88,
'static char v[]={-20,-124,-180,-93,-88,-73,-27,-146,9,-38,-179 ...'
works, but the values obviously violate current char (and unsigned
char) rules. If char is changed to long, the values seem to be
accepted, but the function is called with a char variable.
Any suggested resources other than utilities would be appreciated,
too. Google hasn't been much help, so the above includes a request
for suggested search phrases.
it anyway. From this you can accurately imply that I'm the wrong
person to be doing this. However:
I have been tasked to determine the feasibility of updating 13 year
old (pre ANSI) ASM and C source code for the purpose of compiling a
64-bit executable.
The source code was last modified in November of 1998 and was compiled
using C88 v3.03 and ASM88 v1.5, which are copyright Mark DeSmet 1987
and 1986 respectively.
Are there any utilities that examine old C code and suggest how to
make it compliant with current compilers? I tried splint v3.1.2, but
it crashes on line 110 of 824 lines and does not tell me how to
correct the errors and warnings it does find.
Are there any utilities that examine 8086 ASM code and explain what to
change to make it compile for a 64-bit CPU? I type 'debug' in a CMD
prompt in Vista in order to see the register names, but (of course)
Vista has no DEBUG...
One of the things I'm completely stuck on is the difference in char.
In the existing source code and with C88,
'static char v[]={-20,-124,-180,-93,-88,-73,-27,-146,9,-38,-179 ...'
works, but the values obviously violate current char (and unsigned
char) rules. If char is changed to long, the values seem to be
accepted, but the function is called with a char variable.
Any suggested resources other than utilities would be appreciated,
too. Google hasn't been much help, so the above includes a request
for suggested search phrases.