INSTRUCTION SET, MACHINE CODES AND ADDRESSSING MODE
3.1 MNEMONICS, OPCODES AND ASSEMBLER LANGUAGES
3.1.1 The Instruction Set Of The 8088/8086
Internal architecture of the 8088/86 microprocessors, Memory address space anddata organization, Data types, Segment registers and memory segmentationPointer and index register, Status and flag register, The Stack, Addressing Modes.
The instruction set of a microprocessor defines the basic operations that aprogrammer can specify to the device to perform.
The 8088 and 8086 have the same instruction set.
This instructions are organized into
of functionally related instruction : -1) Data transfer instruction ex: MOV instruction2) Arithmetic Instruction ex: ADD instruction3) Logic instruction ex: RCL instruction4) String manipulation instruction ex: CMPS instruction5) Control transfer instruction ex: INT instruction6) Processor control instruction ex: HLT instruction
Data transfer :
transfers data between memory and registers within the microprocessoror between internal registers. This is usually the largest group.
Arithmetic and logic group
: performs addition, subtraction,compare and othermathematical operations,also performs logic instructions including AND,OR ansd EXORinstructions. This group uses the accumulator(AX) and the ALU(Arithmetic Logic Unit).
: for all this instruction the memory source is DS:DI and the memorydestination is ES:DI.Offset memory pointer,SI and DI are automatically incremented ordecremented depending on the state DF-by 1 for bytes or by 2 for words.