MikroElektronika PIC Microcontrollers PIC16 Uživatelský manuál Strana 83

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 172
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 82
Unary arithmetic operators can be used to change sign of variables:
a = 3
b = -a
' assign value -3 to b
PIC microcontrollers are optimized to work with bytes. Refer to PIC MCU
Specific.
mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
78
mikroBASIC
MikroElektronika: Development tools - Books - Compilers
making it simple...
page
Unary
arithmetic
operators
Operator Operation Operand Types Result Types
+(unary) sign identity
short, integer,
longint
short, integer,
longint
- (unary) sign negation
short, integer,
longint
short, integer,
longint
Runtime
Behavior
Zobrazit stránku 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 171 172

Komentáře k této Příručce

Žádné komentáře