i was wondering what exactly ORG instruction do?
i know it sets where the program loads in memory,but how,when you disassemble a binary assembly file you dont see such a thing as org instruction,but when you run the binary file it gets loaded in that address you mentioned in front of ORG instruction
s_jmp
0
Newbie Poster
Recommended Answers
Jump to PostBasically it just makes sure that the assembled byte-code starts at "ORG". If you want to have a running COM-file under MS-DOS for instance you need exactly 100h of free mem for stuff like stack, commandline-arguments etc provided by DOS. And as this command just makes sure that IP points …
All 3 Replies
Reply to this topic
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.