Jump to content

Special characters: Difference between revisions

m
Line 75:
* <code>;</code> is the comment character.
* <code>" "</code> encloses literal strings in embedded data
* <code>' '</code> encloses a single string character as an instruction operand (e.g. <code>MOV AL,'3'</code>). Note that a character in single or double quotes is really just an alias for the ASCII code. The assembly program makes no distinction between numbers and text.
* <code>:</code> is placed at the end of a code label. The label represents the address of the instruction directly below it, and can be used with <code>JMP</code> and other such branching commands.
* <code>:</code> between a segment register and a label or standard register represent a segment-offset pair to load from/store to. (e.g. <code>MOV [ES:DI],AX</code>)
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.