![]() Auto Indexed (increment mode): Effective address of the operand is the contents of a register specified in the instruction.MOV AX, (move the contents of memory location sĪddressed by the register BX to the register AX) The 8086 CPUs let you access memory indirectly through a register using the register indirect addressing modes. Here two register reference is required to access the data. The effective address of the data is in the base register or an index register that is specified by the instruction. Register Indirect mode: In this addressing the operand’s offset is placed in any one of the registers BX,BP,SI,DI as specified in the instruction.Here one register reference is required to access the data.Įxample: MOV AX,CX (move the contents of CX register to AX register) The data is in the register that is specified by the instruction. Register mode: In register addressing the operand is placed in one of 8 bit or 16 bit general purpose registers.Note:Limitation in the immediate mode is that the range of constants are restricted by size of address field.Įxample: MOV AL, 35H (move the data 35H into AL register) Designed like one address instruction format. Immediate addressing mode (symbol #):In this mode data is present in address field of instruction.In this mode the data is 8 bits or 16 bits long and data is the part of instruction.Zero address instruction are designed with implied addressing mode.Įxample: CLC (used to reset Carry flag to 0) Implied mode:: In implied addressing the operand is specified in the instruction itself.Index: Content of index register SI or DI.Īccording to different ways of specifying an operand by 8086 microprocessor, different addressing modes are used by 8086.Īddressing modes used by 8086 microprocessor are discussed below:.Base: Contents of base register, BX or BP.Displacement: It is an 8 bit or 16 bit immediate value given in the instruction.Effective address or Offset: An offset is determined by adding any combination of three address elements: displacement, base and index.ISRO CS Syllabus for Scientist/Engineer Exam.ISRO CS Original Papers and Official Keys.GATE CS Original Papers and Official Keys.Full Stack Development with React & Node JS(Live).Android App Development with Kotlin(Live).Java Programming - Beginner to Advanced.Data Structure & Algorithm-Self Paced(C++/JAVA).Data Structure & Algorithm Classes (Live). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |