answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: When multiple instruction are overlapped during execution of program then function performed is called?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Where does c language program begin execution?

The execution of the program starts with function main, wherever it is in the source.


Where function execution ends in c language?

In C, function execution ends with the return statement or when execution encounters the last brace, }, that matches the opening brace, {. If the function is typed, such as int myfunc(), then encountering the last brace is considered an error, because that sequence returns no value.


Explain the function of BIU and EU in 8086?

biu stands for bus interface unit and eu stands for execution unit. In 8086 microprocessor BIU fetches the instructions and places in the queue. The Eu executes the fetched instruction and places the result in the registers


What is the function of the instruction counter?

There is no such thing as an instruction counter. You are either referring to the instruction register (IR) or the program counter (PC), The PC is more commonly known as the instruction pointer (IP). The IR and IP work together. The IR fetches the instruction currently pointed to by the IP which is then incremented to refer to the next instruction. The IR is then decoded and executed and the cycle repeats ad infinitum (known as the fetch-decode-execute cycle). However, if the fetched instruction is a control transfer instruction (such as JMP), its execution will cause the IP to refer to another address which, in turn, causes execution to "branch" to a new section of code on the next fetch-decode-execute cycle. Note that a low-level JMP is equivalent to a goto statement in high-level code, however code can also branch through high-level if and switch statements as well as structured loops such as for, while and do-while statements.


Why you have begin with main function?

You don't have, it's only the program-execution which begins with the main function, but it doesn't have to be the first function in the source-file.

Related questions

What is the function of program counter?

program counter is a register that has the address of next instruction that has to be executed after currently executing instruction. it is used for proper execution of functions of computer by providing address of next instruction to microprocessor.


Function of flag register?

The main function of flag register is show the status of result stored in accumulator after execution of an instruction. Amar oli Dang,Nepal


Purpose of program counter in a microprocessor is?

In 8085 program counter stores the address of the next instruction which is to be fecthed.same function is performed by instruction pointer in 8086.


What is the function of XRA instruction?

What is the function of XRA instruction


What is Function of IP register in 8086?

The IP register contains the address of the next instruction to fetch and execute. Normally, IP is incremented by the number of bytes in the instruction after execution of that instruction, unless a transfer of control occurs, in which case IP is loaded with a new value.


What is the function of instruction register?

The Instruction Register (IR) stores the instruction currently being executed. In simple processors each instruction to be executed is loaded into the instruction register which holds it while it is decoded, prepared and ultimately executed.


Where does c language program begin execution?

The execution of the program starts with function main, wherever it is in the source.


Does compilation start from main function?

No; the execution does.


What is the instruction for exit in 8085 microprocessors?

There is no exit instruction in the 8085. Do you mean return, as in from a function or interrupt? If so, the instruction is RET.


Where function execution ends in c language?

In C, function execution ends with the return statement or when execution encounters the last brace, }, that matches the opening brace, {. If the function is typed, such as int myfunc(), then encountering the last brace is considered an error, because that sequence returns no value.


What is a fetch as a cycles in a CPU?

The first part of the instruction execution cycle is the fetch cycle. Tnstruction cycle Each computer's CPU can have different cycles based on different instruction sets, but will be similar to the following cycle: 1. Fetch the instruction The next instruction is fetched from the memory address that is currently stored in the Program Counter (PC), and stored in the Instruction register (IR). At the end of the fetch operation, the PC points to the next instruction that will be read at the next cycle. 2. Decode the instruction The decoder interprets the instruction. During this cycle the instruction inside the IR (instruction register) gets decoded. 3.In case of a memory instruction (direct or indirect) the execution phase will be in the next clock pulse. If the instruction has an indirect address, the effective address is read from main memory, and any required data is fetched from main memory to be processed and then placed into data registers(Clock Pulse: T3). If the instruction is direct, nothing is done at this clock pulse. If this is an I/O instruction or a Register instruction, the operation is performed (executed) at clock Pulse. 4. Execute the instruction The Control Unit of CPU passes the decoded information as a sequence of control signals to the relevant function units of the CPU to perform the actions required by the instruction such as reading values from registers, passing them to the ALU to perform mathematical or logic functions on them, and writing the result back to a register. If the ALU is involved, it sends a condition signal back to the CU.


What is the function of the program counter register?

The function of the program counter register is to hold the address of the instruction that is being executed and (later) to hold the address of the instruction that will be executed next.