explain avr data format and directives with necessary examples
Answers
Answered by
1
Answer:
The AVR microcontroller has only one data type. It is 8 bits, and the size
of each register is also 8 bits. It is the job of the programmer to break down data larger than 8 bits (00 to OxFF, or 0 to 255 in decimal) to be processed by the CPU. The data types used by the AVR can be positive or negative. The bit-addressable data is discussed in later.
Data format representation
There are four ways to represent a byte of data in the AVR assembler. The numbers can be in hex, binary', decimal, or ASCII formats. The following are examples of how each works.
Similar questions