Question: I need C code and assembly code written in 32 bits or 64 bits. I need file for C, and another file for assembly code,
General Requirements - You must have at least 3 subroutines implemented in Assembly language. One of the subroutines must take in the parameters in the form of register values. The other two must take in the parameters through the stack. - You must create three more functions. These functions will act as the interface between the high level language and your assembly language code. - Create a high-level language program that performs some simple operation. This can be any task of your choice but must need the functions provided by your assembly code. - Call the assembly language functions from your high level code. - Compile/assemble both the high level code and assembly code. Link them together to create an executable. - Execute your code to demonstrate the complete functionality. - Document the whole process in a tutorial format. Provide this tutorial in a separate file. The goal of the tutorial is to enable anyone getting started with this field to be able to reproduce your efforts easily. Code requirements - You must write your code using proper coding practices. - Both low level and high level code must be properly formatted, variables must be properly named and functions defined appropriately
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
