Version 2 of IAR Embedded Workbench® for H8 is based on the latest compiler and debugger technology from IAR Systems. In addition to all the powerful and unique features introduced in this new release, version 2 of IAR Embedded Workbench for H8 generates the most compact code on the market.
Tools in benchmark test
This benchmark test compares the total size of linked code, const and initialized data area between the following tools:
- IAR Systems:
- EWH8 V1.53I
Options: -e -v2 -ml -K -z9 -r -q
- EWH8 V2.10A
Options: --core=H8S -e -z9 -r --operating_mode=advanced --code_model=large--data_model=huge
- Renesas:
- CH38 V.6.01 Release 01
Options: -cpu=2600a:24 -DOuble=Float -lang=c -SH=O -regparam=3 -structreg -eepmov -OP=1 -goptimize -Byteenum
Results

Click to see larger image.

Click to see larger image.
Benchmark code examples
The following code examples, covering most embedded application areas, are used in this benchmark:
| Algorithm |
Dynamic array allocation |
| Car navigation system |
Customer application |
| Remote control |
Remote monitoring and operation for generators and engines, customer application |
| RS_coder |
Reed-Solomon encoder/decoder, customer application |
| Spirometer |
Device that determines how well the lungs receive, hold, and utilize air, to monitor a lung disease, customer application |
| Web server |
Customer application |