![]() Instead C or Assembly it is better to think about functions and routines. You need to compile c source and asm source and link object files. In your assembly source declare program origin assembly_start_label as public to other modules. If you want to convert whole assembly program to C I suggest this code In C you can interface assembly routine without passing arguments and return value ussing declaration. ![]() You can interface any HLL program with assembly routine using compiled assembly source and function/procedure declaration in HLL program. Linker use only object files not HLL routine or assembly source. With linker you link all object files to binary executable. When you write and compile some HLL routine you get object code. There is no need to convert any assembly routine to any HLL (high level language). I think that this is very interesting topic for discussion.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |