Home > Back-end >  How to write the code itself into the buffer
How to write the code itself into the buffer

Time:05-03

Which actually wrote it doesn't matter, the key is to pass Pointers to get this a whole bunch of code machine code,
Detailed description:
Writing a series of functions in the VS, now I want to be able to convert these functions to machine code (assembly code is ok), if only by reading the decompiled window, the process will become very complicated, because I don't need to understand the underlying, just want to get the corresponding machine code,

Results: the function of machine code should be able to write write a TXT text, (note: these functions are not other programs, pure is written in the book of the same project,)

CodePudding user response:

CodePudding user response:

Asm compiler options can be set in the output or LST files, whether can also set the output each assembly instruction corresponding machine code,
To find or search,

CodePudding user response:

Choose DDLB in screenshot # 1 floor at the bottom of the item,

CodePudding user response:

The function name is the pointer to the machine code you want, the length is the number of bytes can use this function to get the next function minus,

CodePudding user response:

reference 1st floor forever74 response:


Learned, thank you
  • Related