mov H , L mov is opcode H L are operands
hg
An opcode is a single instruction in assembly language. An operand is the data it does something with.For example, in "MOV r0, #0C", MOV is the opcode ("move this value into this register"), while r0 (register 0) and #0C (the number 12) are operands.
A two-byte instruction gives the specific function instruction in two bytes, or two words. The first specifies the opcode, which tells the microprocessor what operation will occur. The second specifies the operand, or the data that the operation is done on.
The 8085 instruction MOV M,A requires two machine cycles and 7 T states. Cycle one is 3 T states for opcode fetch, plus 1 T state for opcode decode. Cycle two is 3 T state for operand store. These numbers do not include WAIT states. WAIT states are interposed between T2 and T3 of any memory access cycle, and the total number of WAIT states depends on the READY line.
In the 8085 microprocessor, the MOV instruction copies data between two registers, or between a register and memory. The MVI instruction differs only in that the source data is contained in the byte immediately following the opcode byte.
those which have single operand e.g mov A
mov r1r2 is invalid instruction because of there is no communication with ALU in its operation;
The MOV A,B instruction requires 1 machine cycle and 4 T-states, 3 to fetch the opcode, and 1 to decode/execute it.
•The mov instruction carries out assignment in 8086 assembly language. •It which allows us place a number in a register or in a memory location (a variable) i.e. it assigns a value to a register or variable. Example: Store the ASCII code for the letter A in register bx.•A has ASCII code 65D (01000001B, 41H) •The following mov instruction carries out the task:•mov bx, 65d•We could also write it as:•mov bx, 41h•or mov bx, 01000001b•or mov bx, 'A'
Each instruction requires specific time for the execution of instruction and this time is called instruction cycle. Each instruction cycle consists 1 to 5 machine cycle -- opcode fetch, memory read, memory write, IO read, IO write and each machine cycle consist 3 to 6 T - states. Time required to execute 1 T-state = 1/ operating frequency of 8085 Microprocessor for example operating frequency = 2MHz then time required to execute 1 T-state = 0.5 uSec example: Calculate time required to execute instruction MOV C, A sol: This instruction has one machine cycle i.e. opcode fetch (In any instruction 1st cycle is always opcode fetch and opcode fetch consists 4 to 6 T state depend on the operation of particular instruction) so to execute MOV C, A required 4T states so time required to execute this instruction is 4*0.5usec = 2usec any other queries pls contect: nileshbahadure2000@yahoo.co.in example:Calculate the time required to execute LXI H,2000H sol:Here we have to draw opcode fetch and two memory reads as two bytes 00H and 20H have to be read from memory. i.e, opcode fetch+Memory reads *2(bytes address) =4+3+3 so to execute LXI H,2000H,the required T-states is 10T and time is 10*0.5usec=5usec
1byte instruction = MOV A,B 2byte instruction = MVI A,01H 3byte instruction = STA 2030H
mov
Syntax error: incomplete instruction.