Publicidad
Publicidad

Más contenido relacionado

Publicidad

8086 opcode.pptx

  1. (1)
  2. 1) To Calculate Number Of Bytes Needed for each Instruction, then the Total Size of Memory Occupied by the Program will be Known. 2) To Calculate Number of Clock Cycles Needed for each Instruction, then the Estimated Execution Time for the Program will be Known. 3) Help the Programmers to Chose the Optimal Instructions, Specially for Time-Critic (Real Time process) Applications.
  3. T = 200 ns for 5MHz Clock Frequency *So the Time needed to execute a 2-clock Instruction is 2-clockX200ns=400ns.
  4. MOD
  5. TOTAL BYTE TOTAL CLK TRANSFER CLOCKS OPCODE OP2 OP1 INST. LABLE 3 4 ------- 4 B8 02 F8 F802 AX, MOV START: 1 11+1=12 1 11 50 ------- AX PUSH 2 2 ------- 2 8B CB BX CX MOV 2 2 ------- 2 8B D1 CX DX MOV 2 9+5=14 ------- 9+EA 03 04 [SI] AX ADD 4 4 ------- 4 81 C6 86 80 8086 SI ADD 2 15 ------- 15 EB F0 ------- START JMP 16 BYTES 53 CLK SUM 53*200ns=10600n TOTAL TIME TO EXECUTE SINGLE LOOP FOR 5MHz CLK 16 BYTS TOTAL PROGRAM MEMORY SIZE NEEDED
Publicidad