Hey guys I have to analyse a short program for school and the only keyword i cannot find a definition for if ORG. What does this do in assembly code??
Any help would be appreciated. Thanks

Recommended Answers

All 3 Replies

ORG declares the starting address where the code will be located in memory.

Are u sure it's a keyword..

ORG (or sometimes, ".ORG" ) is an assembler directive.

assembler directives do not get translated into an instruction.

directives tell assembler *how* to assemble the source code into machine code. ORG sets the memory address at which the next instruction will be stored.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.