Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/10/01 07:47
Read: times


 
#14847 - illegal?
Not long ago ,My friend ask me to make a module of software which split 16 bit data
to display in decimal each 5 character themselves. He has only assembler which
is attached to manufacturer IC so he asked me to make it in assembly.
I don't want to write in assembly , I prefer C (Can you imagine how clumsy to
archive it?) . I wrote in C with very basic function and I think it's more easy..

Like this !

convert (unsigned int input){
unsigned int remain;
o4=input/10,000;
remain=input-o4*10,000;
o3=remain/1,000;
remain=remain-o3*1,000;
o2=remain/100;
remain=remain-o2*100;
o1=remain/10;
o0=remain-o1;
}

After that I compile and convert this to assembly code and see that
it need the given math library ( together with my development tool ) .
Again I link the library to the object file.
Finally it's object absolute hex file but I want that to be assembly code for
my friend so I use disassembly to make it to assembly code again.

Question .
I won't ask you how my code working correctly but I want to know
whether my deed is illegal or not?
If I only make it all on assembly then it's OK , but now it look like that
I steal library code and give to the other.

just an idea!!!









List of 6 messages in thread
TopicAuthorDate
illegal?            01/01/70 00:00      
RE: illegal?            01/01/70 00:00      
illegal?            01/01/70 00:00      
RE: illegal? - ask a Lawyer!            01/01/70 00:00      
RE: illegal?            01/01/70 00:00      
RE: illegal? :andy            01/01/70 00:00      

Back to Subject List