Need help with 35, 36, 37 in assembly The address of the first available locatio
ID: 3803298 • Letter: N
Question
Need help with 35, 36, 37 in assembly
The address of the first available location in the stack now is _____. In the HCS12 the stack is used most often for _____ & _____. As a programmer we must make sure the stack does not reach _____. Explain the advantage of CALL instruction. How does the CALL accomplish the above advantage? In creating a time delay using assembly language instruction, we must be mindfull of the following 2 factors that affect the accuracy: Explain pipelining. Why does pipelining cause calculations to be inaccurate? Find the clock cycles for the following statements:Explanation / Answer
35. In creating a time delay using Assembly language instructions, one must be mindful of two factors that can affect the accuracy of the delay are:
The crystal frequency: The frequency of the crystal oscillator connected to the OSC1 and OSC2 input pins are one factor in the time delay calculation. The duration of the clock period for the instruction cycle is a function of this frequency.
The second factor is PIC design.
36. Pipelining: Pipelining is an implementation method in which several instructions are overlapped in execution. The computer pipeline is divided in stages an each stage completes a part of an instruction in parallel. The stages are associated one after the other to form a pipe. The instructions enter at one end, grow through the stages, and exit at the other end.
Pipelining does not decrease the time for an individual instruction execution but it increases instruction throughput. Because the pipe stages are joined together, all the stages must be prepared to continue at the same time. The time required to move an instruction one step advance in the pipeline is known as a machine cycle. The length of the machine cycle is obtained by the time necessary for the slowest pipe stage.