References
159
address. If you enter a variable name, the result of the expression will be the variable’s address but not the
value of the variable.
If the dialog expects a number to be entered, the expression’s value will be interpreted as a number (for
example, the Modify Memory dialog box of the Buffer Dump window). If you enter a variable name there,
then the result will be the value of the variable, but not its address.
Nonetheless, you can follow the default rules:
If you need to use the variable’s value , where an address is expected, then you can write something like
var + 0. In this case, the variable’s value will be used in the expression.
If you need to use the variable address& (address) operation, that is, &var .
8.3.1
Operations with Expressions
The program supports all arithmetic and logical operations valid for the C language, as well as pointer
and address operations:
Designation
( )
[ ]
.
->
!
~
-
&
*
(type)
(sizeof)
*
/
+
-
<<
>>
Description
Brackets (higher priority)
Array component selector
Structure component or union selector
Selection of a structure component or a union addressed with a pointer
Logical negation
Bitwise inversion
Bitwise sign change
Returns address
Access by address
Explicit type conversion
(returns size of operand, in bytes)
Division
Modulus operator (produces the remainder of an integer division)
Addition
Subtraction
Left shift
Right shift
? 2010 Phyton, Inc. Microsystems and Development Tools
相关PDF资料
CHUSBWB-2 BATT CHARGER AA/AAA W/2AAA CELLS
CK-S6-SP623-G BOARD DEV S6 WITH TX
CK-V6-ML628-G KIT VIRTEX-6 CHAR ML628
CLSD004 LED DRIVER PROGRAMMER W/CABLE
CMC484812 RACK STEEL 12X48X48 GRY
CMCQP3 PANEL INNER 25.59X15" GREY
CML12C32SLK KIT STUDENT LEARNING 16BIT HCS12
CMR-8040 RACK CABLE MANAGMNT OPEN ASSMBLY
相关代理商/技术参数
CHIPPROG-G41 功能描述:PROGRAMMER GANG 4 SOCKET RoHS:是 类别:编程器,开发系统 >> 独立编程器 系列:- 产品目录绘图:CHIPPROG-G4 标准包装:1 系列:- 类型:成组编程器 适用于相关产品:EEPROM,EPROM,FLASH,MCU,NVRAM,PLD 所含物品:编程器,线缆,CD 产品目录页面:598 (CN2011-ZH PDF) 相关产品:AE-TS56-16I-3-ND - ISP CABLEADAPTER 14-PIN HEADERAE-TS40N-ND - ADAPTER SOCKET 40-TSOP TO 40-DIPAE-TS32N-ND - ADAPTER SOCKET 32-TSOP TO 32-DIPAE-TS28-ND - ADAPTER SOCKET 28-TSOP TO 28-DIPAE-T44-P16-ND - ADAPTER SOCKET 44-QFP TO 40-DIPAE-T44-I51/505-ND - ADAPTER SOCKET 44-QFP TO 40-DIPAE-SS56-16I-ND - ADAPTER SOCKET 56-SSOP TO 40-DIPAE-SP8U-ND - ADAPTER SOCKET 8-SSOP TO 8-DIPAE-SP28U2-ND - ADAPTER SOCKET 28-SSOP TO 28-DIPAE-SP28U1-ND - ADAPTER SOCKET 28-SSOP TO 28-DIP更多...
CHIPPROG-ISP 功能描述:PROGRAMMER IN-SYSTEM UNIVERSAL RoHS:是 类别:编程器,开发系统 >> 内电路编程器、仿真器以及调试器 系列:- 产品变化通告:Development Systems Discontinuation 19/Jul/2010 标准包装:1 系列:* 类型:* 适用于相关产品:* 所含物品:*
CHIPS CAPACITOR 0.015UF 50V CERAMIC 制造商:AVX Corporation 功能描述:CHIPS CAPACITOR 0.015UF50VCERAMIC*NIC*
CHIPS-IN-DIPS 制造商:未知厂家 制造商全称:未知厂家 功能描述:ASIC
CHIPT1593CSE6327X1SA1 制造商:Infineon Technologies AG 功能描述:RF SILICON MMIC - Gel-pak, waffle pack, wafer, diced wafer on film
CHIPV6 制造商:JDSU 制造商全称:JDS Uniphase Corporation 功能描述:The industrya??s most compact 100 G test solution
CHIS-24 制造商:Mencom 功能描述: