MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 67

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 66
http://www.mikroelektronika.co.yu/english/product/books/PICbook/4_Poglavlje.htm
4.17 ENDC End of constant block definition
Syntax:
endc
Description:
Directive was used at the end of a definition of a block of constants so assembly translator could
know that there are no more constants.
Similar directives: CBLOCK
4.18 DB Defining one byte data
Syntax:
[<label>]db <term> [, <term>,.....,<term>]
Description:
Directive reserves a byte in program memory. When there are more terms which need to be
assigned a byte each, they will be assigned one after another.
Example:
db 't', 0×0f, 'e', 's', 0×12
Similar instructions: DE, DT
4.19 DE Defining the EEPROM memory byte
Syntax:
[<term>] de <term> [, <term>,....., <term>]
Description:
Directive is used for defining EEPROM memory byte. Even though it was first intended only for
EEPROM memory, it could be used for any other location in any memory.
Example:
org H'2100'
de "Version 1.0" , 0
Similar instructions: DB, DT
4.20 DT Defining the data table
Syntax:
[<label>] dt <term> [, <term>,........., <term>]
Description:
Directive generates RETLW series of instructions, one instruction per each term.
Example:
dt "Message", 0
dt first, second, third
Similar directives: DB, DE
Configurational directives
4.21 _CONFIG Setting the configurational bits
Syntax:
http://www.mikroelektronika.co.yu/english/product/books/PICbook/4_Poglavlje.htm (11 of 15) [4/2/2003 16:18:10]
Zobrazit stránku 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 185 186

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

Žádné komentáře