Home  >  Article  >  What file is org

What file is org

藏色散人
藏色散人Original
2021-04-23 15:32:4916551browse

org is a file called by itself in the game system. Generally speaking, it cannot be opened except for this game; and org is an instruction in assembly language, and its function is to tell the assembler to start execution. At that time, a certain piece of machine language is loaded into which address in the memory.

What file is org

#The operating environment of this article: Windows 7 system, Dell G3 computer.

org is a file called by the game system. Generally speaking, it cannot be opened except for this game.

ORG is an instruction in assembly language. Its function is to tell the assembler which address in the memory to load a certain piece of machine language at the beginning of execution. Without it, some instructions cannot be translated and executed correctly. Since this instruction is not a direct instruction in machine language, it is also called a pseudo-instruction.

In addition, the meaning of some command symbols also changes.

For example: RESB

0x1fe-$

The meaning of this command is to fill in 0x00 from now on until 0x001fe.

And there is After the ORG instruction, the meaning of the dollar sign "$" also changes. It no longer refers to the bytes of the output file, but represents the memory address to be read.

ORG is the abbreviation of Origin: starting address source. At the beginning of the assembly language source program, an ORG pseudo-instruction is usually used to specify the starting address of the program. If the ORG specification is not used, the compiled target program will start from 0000H.

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What file is org. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn