db D'1'
de D'4'

Wat is het verschil tussen 'db' en 'de' bij een EEPROM tabel ?

(PIC16F Serie)

db is dus een 8-Bit-Bytes.

de is lastiger te zoeken.
Het lijkt een 16 bits (word) te zijn...

Wie kan hier iets over vertellen ?

Mirkoe.com - Assembly Language Programming - Mircochip PIC16F family:

3.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

3.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

3.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

Bij een PIC16F:
db gebruik je voor het opslaan van bytes in de FLASH programma ruimte
de gebruik je voor het opslaan van bytes in het EE geheugen.
Links bovenaan in MPLAB zit een knopje "Help", dan "Topics", dan "MPASM assembler" en dan zoeken op de en db in de keyword list.