Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

AN910 Datasheet(PDF) 48 Page - STMicroelectronics

No. de pieza AN910
Descripción Electrónicos  ST7 AND ST9 PERFORMANCE BENCHMARKING
PDF  51 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN910 Datasheet(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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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