70 likes | 272 Views
Subject Code : 3330705 Name Of Subject : Microprocessor and assembly language programming Name of Unit : 8085 instruction set Topic : Instruction size Name of Faculty : H.M.Avaiya & N.D.Dhameliya Name of Students: ( i ) Raymale Kamna (077)
E N D
Subject Code : 3330705 Name Of Subject : Microprocessor and assembly language programming Name of Unit : 8085 instruction set Topic : Instruction size Name of Faculty : H.M.Avaiya & N.D.Dhameliya Name of Students: (i) RaymaleKamna(077) (ii) Dabhi Krishna(092) Parul Polytechnic Institute
Introduction • The size of an introduction is measured in bytes and it is no. of bytes instruction occupies in memory. • The 8085 instructions are one to three byte long and classified as • Single-byte instructions • Two-byte instructions • Three-byte instructions • The first byte in any instruction is always code for that instruction. • In single-byte instruction operands are implicit as it has only one byte which is opcode. • Two- byte instruction consist of the opcode followed by 8-bit data. • Three-byte instruction consist of the opcode followed by 16-bit address or 16 bit data. Sub:MalpTopic: Instruction Size
Single-Byte instructions • A single byte instruction specifies both the opcode and operand in same byte and requires only one byte storage in the memory. • Examples of single byte instruction are below. Sub:MalpTopic: Instruction Size
Two-Byte instructions • In a two-byte instruction, first byte is the opcode of the instruction and second byte is the operand. • It requires two memory locations in storage. • MVI a,32h is an example of two-byte instruction. Sub:MalpTopic: Instruction Size
Three-Byte instructions • A three-byte specifies the opcode followed by16-bit address. • The second byte contain the lower-order address, while third byte contains the higher-order address. • It require three memory location in storage. • LDA 2050h is an example of three byte instruction. Sub:MalpTopic: Instruction Size