參數資料
型號: BENCHMARKING
英文描述: Benchmarking the Am186EM: Using the Dhrystone V2.1 As An Example Application Note? 1.66MB (PDF)
中文描述: 基準Am186EM:作為示例應用注意Dhrystone的V2.1版本? 1.66MB(PDF格式)
文件頁數: 40/88頁
文件大?。?/td> 1701K
代理商: BENCHMARKING
40
Compilation
Compilation requires command line operation in DOS. (If you wish, the entire
process can be done in the Windows IDE.) To invoke the process just type
“make” on the DOS command line. Make will read a file in the current directory
called “makefile”. This file is used to prepare the benchmark for execution. Of
note is the selection of optimization level (none). The optimizations called out
on this line will have a great impact on performance and some times on code
correctness. Always consult the compiler manual to understand the effect of the
specified optimization. You may wish to see if code performance improves with
other selections (recommended as an exercise).
File: makefile
#
# Sample makefile for building the floating point arithmetic demonstration
# using the Borland C++ compiler.
#
# Some of the macros used in this makefile that can be customized are
#
# MODEL Selected memory model
# CPU CPU instruction selection
# FLOAT Floating point library selection
# EXCEPTIONS Exception handling selection
# FARDATA Enables use of class FAR_DATA, with optional compression
# DEBUG Enable/disable debug information
# OPTIMIZE Enable/disable optimization
# WARNINGS Enable/disable compiler warning messages
#
COMPDIR = c:\bc45 # Compiler home directory
BCCFG = turboc.cfg # BC++ compiler configuration file
MKF = makefile # Build everything if the makefile is changed
MODEL = s # s, m, c, l, h
CPU = 1
# 0 - 8086, 1 - 80186, 2 - 80286, 3 -80386
FLOAT = 2
# 0 - none, 2 - emulator, 3 - coprocessor
OPTIMIZE = 0
# 0 - none, 1 - size, 2 - speed
EXCEPTIONS = 0 # 0 - disabled, 1 - enabled
FARDATA = 1
# 0 - none, 1 - normal, 2 - compressed
# above must be 1 if float > 0
DEBUG =
2
# 0 - none, 1 - debug EPROM, 2 - debug PDREMOTE
WARNINGS = 1 # 0 - none, 1 - all
CODESTRING = 0 # Put string literals in code segment
DUPSTRING = 1 # Duplicate string merged
CHECKSTACK = 0 # Check for stack overflow
STACK = 8192
# Application stack size (in bytes)
!include paradigm.mkf # Compiler/linker customization options
#
# These are the implicit rules for building C, C++, and assembly
# language source modules.
#
.autodepend # Autodepedency checking
.suffixes: .cpp .c .asm # Rules when target's dependent is ambiguous
You must make sure that
the paths point to your
tool set directories!
CPU must be 80186, to use the
timer float must be set to 2,
floating point requires fardata so
set this to 1. Select your own
optimization levels (per text).
Select debug = 2 so you
can use PDRT186
Watch your stack size!!!
相關PDF資料
PDF描述
BF-21 High Efficiency 1X/1.5X/2X Charge Pump for White LED Applications
BF-22 Current Limited Load Switch
BF1102R Dual N-channel dual gate MOS-FETs
BF173 ECONOLINE: RJZ & RGZ - 2W Single and Dual Outputs in DIP 14 - 3kVDC and 4kVDC Isolation - Optional Continuous Short Circuit Protected - Custom Solutions Available - UL94V-0 Package Material - Efficiency up to 85%
BF200B TRANSISTOR | BJT | NPN | 20V V(BR)CEO | 20MA I(C) | TO-92
相關代理商/技術參數
參數描述
BENCR5P3016B 功能描述:控制開關 ENCLOS DISCON SWITC RoHS:否 制造商:Omron Industrial 控制類型:Emergency Stop 觸點額定值:5 A at 125 VAC 觸點形式:1 Form B (SPST-NC) 電壓額定值: 電流額定值: 執(zhí)行器:Pushbutton 照明:N 安裝風格:
BENCR5P3040B 功能描述:控制開關 ENCLOS DISCON SWITC RoHS:否 制造商:Omron Industrial 控制類型:Emergency Stop 觸點額定值:5 A at 125 VAC 觸點形式:1 Form B (SPST-NC) 電壓額定值: 電流額定值: 執(zhí)行器:Pushbutton 照明:N 安裝風格:
BEND-M162GT 制造商:PMA 功能描述:M16 STR CONDUIT FITTING
BENELI-81-ALL-ELECTR 制造商:TE Connectivity 功能描述:CS4901-000
BENFREIGHTPROMET!A 制造商:Amphenol Corporation 功能描述: