数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN910 数据表(PDF) 48 Page - STMicroelectronics

部件名 AN910
功能描述  ST7 AND ST9 PERFORMANCE BENCHMARKING
PDF  51 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN910 数据表(HTML) 48 Page - STMicroelectronics

Back Button AN910 Datasheet HTML 43Page - STMicroelectronics AN910 Datasheet HTML 44Page - STMicroelectronics AN910 Datasheet HTML 45Page - STMicroelectronics AN910 Datasheet HTML 46Page - STMicroelectronics AN910 Datasheet HTML 47Page - STMicroelectronics AN910 Datasheet HTML 48Page - STMicroelectronics AN910 Datasheet HTML 49Page - STMicroelectronics AN910 Datasheet HTML 50Page - STMicroelectronics AN910 Datasheet HTML 51Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 48 / 51 page
background image
48/51
ST7 AND ST9 PERFORMANCE BENCHMARKING
9.1.2 Code size measure
Code size is measured with the assembly code. The result is the number of bytes used to
code the test routine (in Test Loop part) without the set and reset instructions for the I/O pin.
Here is an example of a Test Loop:
0000
C290
test:
setb p1.0
; set I/O pin
0002
7809
mov r0, #srcpointer
; beginning of test routine
0004
7982
mov r1, #destpointer
0006
900200
mov dptr, #200h
0009
7F79
mov r7, #121
000B
E6
loop:
mov a, @r0
000C
93
movc a, @a+dptr
000D
F7
mov @r1, a
000E
08
inc r0
000F
0A
inc r2
0010
DFF9
djnz r7, loop
; end of test routine
0012
D290
finish:
clr p1.0
; reset I/O pin
0014
22
ret
The code size of this assembly code equals (12h-2h) = 10h = 16d, thus 16 bytes.
9.2 CALCULATION
9.2.1 Execution time and code size ratios
From execution time and code size measures, preliminary ratios with ST9+ MCU as
reference have been calculated for each test. Using those results, a global execution time
ratio and a global code size ratio have been calculated as an average of all ratios.
As all the tests could not have been implemented on all MCUs (see <Italic>9.2.2 Memory
considerations<Italic end>), one or two different results are presented for each MCU. The
first one, available for all the MCUs, has been calculated with the reduced set of tests
performed on all the MCUs (Table 14). The second one, only available for some MCUs, has
been calculated with the full set of tests (Table 15).
Table 14. Reduced set of tests
Tests concerned
string, char, bubble(10 words), blkmov(64 bytes), convert, 16mul, shright, bitrst
Resulting ratio formulas
ET = execution time
CS = code size
sum(ET ratios of reduced set)
Global ET ratio for reduced set =
number of tests of reduced set
sum(CS ratios of reduced set)
Global CS ratio for reduced set =
number of tests of reduced set



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51


数据表 下载

Go To PDF Page


链接网址



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