Só o que sei é que define byte alto e byte baixo para um dado de 16 bits.
Obrigado.
Bug
Boas férias a todos.

Moderadores: andre_luis, 51, guest2003, Renie
bug escreveu:Bom dia pessoal, estou precisando ler sobre as diretivas HIGH e LOW , baixei vários PDFs da Micro Chip e não achei nada. Algum colega teria algo sobre?
Só o que sei é que define byte alto e byte baixo para um dado de 16 bits.
Obrigado.
Bug
Boas férias a todos.
3.5 ARITHMETIC OPERATORS AND PRECEDENCE
Arithmetic operators may be used with directives and their variables as specified in the table below.
Note: These operators cannot be used with program variables. They are for use with directives only.
The operator order in the table also corresponds to its precedence, where the first operator has the highest precedence and the last operator has the lowest precedence.
Precedence refers to the order in which operators are executed in a code statement.
...
6.4 LOW, HIGH AND UPPER OPERATORS
Low, high and upper operators are used to return one byte of a multi-byte label value.
If low is used, only bits 0 through 7 of the expression will be used. If high is used, only bits 8 through 15 of the expression will be used. If upper is used, only bits 16 through 21 of the expression will be used.
...
bug escreveu:Bom dia pessoal, estou precisando ler sobre as diretivas HIGH e LOW , baixei vários PDFs da Micro Chip e não achei nada. Algum colega teria algo sobre?
Só o que sei é que define byte alto e byte baixo para um dado de 16 bits.
Obrigado.
Bug
Boas férias a todos.
Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante