This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:multiasm:piot:chapter_4_4 [2026/03/01 17:46] – ktokarz | en:multiasm:piot:chapter_4_4 [2026/06/23 13:26] (current) – [Data Types and Encoding] ktokarz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Data Types and Encoding ====== | ====== Data Types and Encoding ====== | ||
| - | In assembler, various data types, such as bytes, words, and double words, are used. Bytes are the smallest data unit and have 8 bits. Words have 16 bits, and double words have 32 bits. Data types are used to store integers, floating-point numbers, and characters. Data encoding involves representing information in binary form. Data can be encoded in binary, decimal, or hexadecimal format. Character encoding is done using standards such as ASCII. Understanding data types and encoding is crucial for effective programming in assembler. This course | + | In assembler, various data types, such as bytes, words, and double words, are used. Bytes are the smallest data unit and have 8 bits. Words have 16 bits, and double words have 32 bits. Data types are used to store integers, floating-point numbers, and characters. Data encoding involves representing information in binary form. Data can be encoded in binary, decimal, or hexadecimal format. Character encoding is done using standards such as ASCII. Understanding data types and encoding is crucial for effective programming in assembler. This section |
| AVR microcontrollers are classified as 8-bit devices, but the instruction word is 16-bit. | AVR microcontrollers are classified as 8-bit devices, but the instruction word is 16-bit. | ||