- The flag register is a 16-bit register sometimes referred as the status register. Although the register is 16-bit. Not all the bits are used.
- Conditional flags: 6 of the flags are called the conditional flags, meaning that they indicate some condition that resulted after an instruction was executed. These 6 are: CF, PF, AF, ZF, SF, and OF.
- The 16 bits of the flag registers:
Syntax: MOV destination,source
Copy the contents of the source into destination.Destionation & source size should match.Because,data registers can be accessed in byte, word or double-word sizes(If you don’t remember this data registers, you can access to our first topic from here).
As it is possible to access directly to microprocessor, assembly language is the most powerful computer programming language available and it gives programmers the insight required to write effective code in high-level languages.All writing codes of high-level programming languages converting to Assembly language, with this way computer can determine what the written program means.
When executing an instruction a special function is performed on data, These data are called operands.
e.g. MOV AX,BX –> “AX&BX” are operands