전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN2367 데이터시트(PDF) 5 Page - STMicroelectronics

부품명 AN2367
상세설명  This application note describes an optimized memory copy
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2367 데이터시트(HTML) 5 Page - STMicroelectronics

  AN2367 Datasheet HTML 1Page - STMicroelectronics AN2367 Datasheet HTML 2Page - STMicroelectronics AN2367 Datasheet HTML 3Page - STMicroelectronics AN2367 Datasheet HTML 4Page - STMicroelectronics AN2367 Datasheet HTML 5Page - STMicroelectronics AN2367 Datasheet HTML 6Page - STMicroelectronics AN2367 Datasheet HTML 7Page - STMicroelectronics AN2367 Datasheet HTML 8Page - STMicroelectronics AN2367 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 13 page
background image
AN2367
The optimized routine
5/13
2.3
Code description
There are 5 blocks in this routine.
The code listing is given in appendix A.
2.4
Performance results
The following table shows the number of cycles for different number of bytes all divisible by
16.
From this table the following formula can be used:
Cycles = 84 + NBytes*1.5
84 cycles represent the total overhead of: Caller (C) transmit the 3 parameters, branch to
routine, routine context save, routine context restore, return to caller.
When the number of bytes is not divisible by 16, then the number of cycles is not linear. The
following formula must be used:
Cycles = 84 + NBytes*1.5 + Additional Cycles for remaining bytes
Table 2.
Overview of code blocks
Name
Function
Implementation
save_context
save all registers used by the
routine
d_main
main loop; transfer 16 bytes per
iteration
single loop
d_swit
second level switch: transfer 4,
8 or 12 bytes
linear routine
d_switch
third level switch: transfer 1, 2 or
3 bytes
switch case
restore_context
restore all registers
Table 3.
Performance results (no. of bytes divisible by 16)
Number of bytes
Number of cycles
32
126
128
276
512
852
1024
1620
Table 4.
Performance results (no. of bytes not divisible by 16)
Remaining bytes
Additional cycles
00
127
227



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com