| View previous topic :: View next topic |
| Author |
Message |
BaronChronos
Joined: 20 Jan 2004 Posts: 5
|
Posted: Sat Jan 24, 2004 12:25 pm Post subject: ee-as and iop-as |
|
|
I'm not entirely sure that this could be considered a bug, but if you call either ee-as or iop-as with a .vsm file as the input file and specify the output file (-o) with the same input file name, it completely overwrites the .vsm file with what appears to be executable code.
Example: ee-as file.vsm -o file.vsm
Yet if you specify a different file name as the output file, it complains about just about every opcode in the program, so I know the executable code it produces can't possibly be correct.
Anyway, just something I noticed.
-----------------------------------------------------------
Edit: my bad. I should've read the title of the forum a bit more closely. This is obviously in the wrong forum. Could some mod move this to the appropriate forum? |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Jan 24, 2004 3:08 pm Post subject: |
|
|
Neither ee-as or iop-as is going to compile VU code for you. That would be why it complains...
As for it overwriting itself but not complaining? That's just odd. :) |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Jan 24, 2004 3:09 pm Post subject: |
|
|
| Moved to: EE Development |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Sat Jan 24, 2004 4:16 pm Post subject: |
|
|
I going to say that this is abit of default behaviour for as.
try as empty.c -o empty.c and you will get a 441 byte big file.
Its the generated elf header. So albeit abit odd behaviour, thats the way it is. dont specify input files as output files :) _________________ Kung VU |
|
| Back to top |
|
 |
|