answersLogoWhite

0


Best Answer

Depending on the particular microprocessor, a machine cycle is the fetch or store of one (typically, one byte) native word. In the 8085, this is a byte fetch or store, plus the overhead in decoding and processing the instruction. In this case, the first machine cycle is four clock cycles, or T states, and subsequent machine cycles are three clock cycles, although certain instruction sequences, such as DAD, require two extra clock cycles.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

this depends on the processor and the instruction

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How many machine cycles do one byte instructions have?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How many no of instructions does the java byte code has?

200 instructions only.


What is compiler and assembler?

Both, compiler and assembler, are software tools which translate instructions written in a programming language into executable machine code. (Both will typically require additional tools, such as a linker, in the process.) An assembler recognizes a machine-specific assembly language. This is a low-level language with a one-to-one relationship between language (assembly) instructions and machine code instructions. A compiler recognizes a generally machine-independent language such as the C programming language. These are higher level languages compared to the assembly languages, generally offering a one-to-many relationship between language instructions and expressions, and the resulting machine code instructions.


How many machine cycles and T-series requires to complete the execute STA 4200H in 8085 microprocessor?

The STA 4200H instruction in the 8085 requires 4 machine cycles and 13 T states to complete its fetch, processing, and execution. Cycle One: Opcode fetch, 3 T states plus one opcode process state. Cycle Two: Opcode address byte 00H fetch, 3 T states Cycle Three: Opcode address byte 42H fetch, 3 T states Cycle Four: Accumulator store, 3 T states. Each cycle will have additional T-Ready states as needed by the READY pin. 13 T states is the minimum. The LDA instruction will also require 13 T states, with the last cycle being a read cycle instead of a write cycle.


One instruction in high level language corresponds to one instruction in machine language?

No. Generally, one instruction in a high level language corresponds to many instructions in machine language.


Define the concept of Java Bytecode and its importance?

1. The byte code is intermediate language. 2. It is not understandable by user as well as processor. 3. Tjava program(.java) will get converted to byte-code(.class) after compilation. 4. It is a set of highly optimized instructions. Advantages(impotance) of byte code: 1. It is useful for exchanging java program without disclosing the logic implemented in it to others. 2. The byte code are many times compressed version of actual Java program.Therefore,it is easy and fast to transport them over the internet. 3. Byte codes are not executable and they are platform independent.

Related questions

How many machine cycles will taken by pop instructions and push?

12


How many machine cycles in the XCHG instruction?

Summary − So this instruction XCHG requires 1-Byte, 4-Machine Cycles (Opcode Fetch) and 4 T-States for execution as shown in the timing diagram.


How many no of instructions does the java byte code has?

200 instructions only.


How many fetch cycles a three byte instruction requires for its execution?

There are three fetch cycles in a three byte instruction. The first one is four clock cycles long, while the other two are three clock cycles long. Depending on what the instruction does, there will then be more read/write cycles.


How many memory locations are required to execute rotate accumulator right and rotate accumulator left?

The RAR and RAL instructions require one byte to specify, and four T-cycles to execute, on the 8085.


How many bytes are there for jump instruction in 8085?

There are 74 instructions in the 8085 microprocessor.


Hoe to calculate the number of machine cycle and opcode fetch of any instruction?

It is not possible to calculate the number of machine cycles from first principles without going into design details of the CPU in question. You will need the reference book or card for the specific microprocessor model you are using. That will give you the actual number of cycles that are required for each instruction family. Note that many instructions take a variable number of cycles based on where they fetch their operands from. In the 8088 and 8086, in many cases the number of machine cycles is given in the form "4+EA". This means that you have to look up the number of cycles for a specific Effective Address, which is part of the op code, and add it to the number of cycles to execute the op code. There will be a table of machine stated for each type of Effective Address determination as well. Older machines like the 8085, 8086, and 8088 will actually have a few instructions, notably rotate and shift instructions, where the time is given as something like "4+2s". In these cases, the value "s" is the number of positions you are shifting the operand; to shift it 7 places takes 14 machine states, over and above the initial 2.


How many instructions are executed by 1khz CPU?

A 1kHz CPU will execute 1000 cycles per second.


How many machine cycles are required for RET instruction in 8085 microprocessor is?

RET instruction needs 3 machine cycles. One to fetch and decode the instruction(4 T states), and two more machine cycles(i.e. 2*3=6 T states) to read two bytes from the stack(stack is exterior to microprocessor, stack is in R/W memory, so to exchange data with stack needs machine cycles). Thus, RET instruction needs total 3 machine cycles and 10 T-states.


How many machine cycle are required in LDAX rp?

4 CYLES; 1 fetch+1 lower byte read+1 higher byte read+1 resding of data pointed by Rp


How many clock cycle is needed to execute LDA?

It is a 3 byte instruction, with one byte for opcode and the other two for the 16bit address. It takes four machine cycles (one to fetch opcode, one to fetch lower order address, one to fetch higher order address and another one to fetch the data from the memory)... i.e. it takes 13 time states to perform the LDA instruction


How java is fast?

Java is not fast. Compared to equivalent code compiled to native machine code it is extremely slow. However, it is somewhat faster than many other interpreted languages because the source code compiles to Java byte code which is suitable for interpretation by any Java virtual machine. Interpreting byte code is much quicker than interpreting source code and, unlike machine code, byte code is portable.