Category: 8086 Instruction Set

String Instruction in 8086

String Instruction in 8086: The String Instruction in 8086 are namely, REP/REPE/REPZ/REPNE/REPNZ MOVS/MOVSB/MOVSN CMPS/CMPSB/CMPSW SCAS/SCASB/SCASW LODS/LODSB/LODSW STOS/STOSB/STOSW REP/REPE/REPZ/REPNE/REPNZ Instruction : REP is a prefix which is written before one of the String Instruction in 8086. These instructions repeat until specified condition exists. MOVS/MOVSB/MOVSW Instruction : This instruction copies a byte or word from a location […]

8086 External Hardware Synchronization Instructions

8086 External Hardware Synchronization Instructions: The 8086 External Hardware Synchronization Instructions are namely HLT WAIT ESC LOCK NOP HLT Instruction : The HLT instruction will cause the 8086 to stop fetching and executing instructions. The 8086 will enter a halt state. The only ways to get the processor out of the halt state are with an […]

Process Control Instructions in 8086

Process Control Instructions in 8086: The Process Control Instructions in 8086 are namely, STC CLC CMC STD CLD STI CLI STC Instruction : This instruction sets the carry flag, STC does not affect any other flag. CLC Instruction : This instruction resets the carry flag to zero. CLC does not affect any other flag. CMC […]

Program Execution Transfer Instructions in 8086 Microprocessor

Program Execution Transfer Instructions in 8086 Microprocessor: The Program Execution Transfer Instructions in 8086 Microprocessor are namely a) Unconditional transfer instructions: CALL RET JMP J cond CALL Instruction : The CALL instruction is used to Program Execution Transfer Instructions in 8086 Microprocessor to a subprogram or procedure. There are two basic types of CALLs, near […]

Rotate Instruction in 8086 with example

Rotate Instruction in 8086 with example: The Rotate Instruction in 8086 with example are namely ROL ROR RCL RCR ROL Instruction : ROL destination, count. This Rotate Instruction in 8086 with example all bits in a specified byte or word to the left some number of bit positions. MSB is placed as a new LSB […]

Shift Instructions in 8086

Shift Instructions in 8086: The Shift Instructions in 8086 are follows SAL/SHL SHR SAR SAL/SHL Instruction : SAL/SHL destination, count. SAL and SHL are two mnemonics for the same instruction. This instruction shifts each bit in the specified destination to the left and 0 is stored at LSB position. The MSB is shifted into the […]

Bit Manipulation Instructions in 8086

Bit Manipulation Instructions in 8086(Logical Instructions): The Bit Manipulation Instructions in 8086 or Logical Instructions are NOT AND OR XOR TEST NOT Instruction : NOT destination. The NOT instruction inverts each bit of a byte or a word. The destination can be register or a memory location. Flags : NOT instruction affects no flag. AND […]

Arithmetic Instructions in 8086

Arithmetic Instructions in 8086: Arithmetic Instructions in 8086 are follows a) Addition Instructions : ADD ADC INC AAA DAA ADD/ADC Instruction : ADD destination, source / ADC destination, source. These instructions add a number from source to a number from destination and put the result in the destination. The ADC, instruction also adds the status […]

Data Transfer Instructions in 8086

Data Transfer Instructions in 8086: The Data Transfer Instructions in 8086 are a) General Purpose Byte or Word Transfer Instructions: MOV PUSH POP XCHG XLAT MOV Instruction : MOV destination, source. The MOV instruction copies a word or a byte of data from some source to a destination. The destination can be a register or […]