Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What file does org refer to?

Shulou Source: shulou.com Published: 2022-06-02 12:47:03 10月03日 Update

This article is to share with you about what files org refers to. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Org is a file called by itself in the game system, which generally cannot be opened except for this game, while org is an instruction in assembly language that tells the assembler which address to load a certain machine language into memory at the beginning of execution.

This article operating environment: Windows7 system, Dell G3 computer.

Org is a file called by itself in 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 at which address in memory to load a piece of machine language at the beginning of execution. Without it, some instructions cannot be translated and executed correctly. Because this instruction is not a direct instruction in machine language, it is also called pseudo instruction.

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

For example:: RESB

0x1fetel $

The meaning of this instruction is from now on, fill in 0x00 until 0x001fe.

With the ORG directive, the meaning of the dollar sign "$" also changes. It no longer refers to the number of bytes of the output file, but represents the memory address to be read.

ORG is an acronym for Origin: starting address source. At the beginning of the assembly language source program, an ORG directive is usually used to implement the starting address of the specified program. If the ORG specification is not used, the target program compiled will start at 0000H.

Thank you for reading! This is the end of the article on what org refers to. I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Instruction language file address program memory meaning machine system assembler generally speaking function content time more game system article change load start Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn MariaDB Shulou Technology Huawei Xiaomi