The four parts are :
- Label
- Op Code
- Operands
- Comments
An example of these in operation would be :
- Label - Start:
- Op Code - mov
- Operands - bx,80h
- Comments - ;Load Character Count
The label is used as a reference and is useful when calculating relative jumps, for example. The operation code contains the mnemonic (a mnemonic to MOVe data) which describes the operation being carried out. The operands describe the source and destination of the data to be operated on. The comments are only to help the programmer.
No comments:
Post a Comment