#rom INT 0xf00000???

Alguien puede indicarme para que sirve la directiva #rom INT 0xf00000... estoy trabajando sobre un codigo de otra persona que se fue de la empresa y entre todo el desastre de codigo que dejo, tengo la directiva que indica lo siguiente:
Código:
#rom INT 0xf00000={0,6,5,4,3,0,0,2,1,0,0,0,0,9,1,2,3,4,0,0,5,6,0,0,0,0,9,'V',0,'E',0,'N',0,'E',0,'Z',0,'U',0,0,0,0,0,0,0,0,'C',0,'A',0,'R',0,'L',0,'O',0,'S',0,0,0}

la verdad no tengo ni idea de para que sirve esta directiva, algunas veces he usado pero de manera muy mecanica, y jamas tan larga... alguien puede ayudarme
 
Siempre que tengas dudas de este tipo, consulta la ayuda del programa.

#ROM

Syntax:
#ROM address = {list}
#ROM int8 address = {list}
#ROM char address = {list}

Elements:
address is a ROM word address, list is a list of words separated by commas

Purpose:
Allows the insertion of data into the .HEX file. In particular, this may be used to program the '84 data EEPROM, as shown in the following example.

Note that if the #ROM address is inside the program memory space, the directive creates a segment for the data, resulting in an error if a #ORG is over the same area. The #ROM data will also be counted as used program memory space.

The int8 option indicates each item is 8 bits, the default is 16 bits. The char option treats each item as 7 bits packing 2 chars into every pcm 14-bit word.

When linking multiple compilation units be aware this directive applies to the final object file.

Some special forms of this directive may be used for verifying program memory:

#ROM address = checksum
This will put a value at address such that the entire program memory will sum to 0x1248

#ROM address = crc16
This will put a value at address that is a crc16 of all the program memory except the specified address

#ROM address = crc8
This will put a value at address that is a crc16 of all the program memory except the specified address

Suerte.
 
Atrás
Arriba