943,891 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Marked Solved
  • Views: 888
  • Assembly RSS
May 14th, 2009
0

Assesmbly code keywords

Expand Post »
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
Similar Threads
Reputation Points: 8
Solved Threads: 1
Light Poster
Darkangelchick is offline Offline
35 posts
since Aug 2008
May 14th, 2009
0

Re: Assesmbly code keywords

ORG declares the starting address where the code will be located in memory.
Reputation Points: 2143
Solved Threads: 178
Posting Maven
jephthah is offline Offline
2,567 posts
since Feb 2008
May 14th, 2009
0

Re: Assesmbly code keywords

Are u sure it's a keyword..
Reputation Points: 47
Solved Threads: 69
Posting Whiz
cikara21 is offline Offline
340 posts
since Jul 2008
May 14th, 2009
0

Re: Assesmbly code keywords

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.
Reputation Points: 2143
Solved Threads: 178
Posting Maven
jephthah is offline Offline
2,567 posts
since Feb 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: PIC based PS/2 Mouse
Next Thread in Assembly Forum Timeline: A question about code





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC