Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:multiasm:piot:chapter_4_7 [2026/01/10 20:35] pczekalskien:multiasm:piot:chapter_4_7 [2026/03/01 19:57] (current) ktokarz
Line 1: Line 1:
 ====== Instruction Set ====== ====== Instruction Set ======
  
-The assembler instruction set includes arithmetic, logical, control, and input/output operations. Arithmetic instructions include addition, subtraction, multiplication, and division. Logical instructions include operations such as AND, OR, XOR, and NOT. Control instructions include jumps, loops, and conditions. Input/output instructions include operations on ports and registers. Understanding the instruction set is crucial for effective programming in assembler. This course will discuss the most commonly used instructions and their application in assembler code. Practical examples will show how to use instructions in AVR programming. The instruction set allows full control over the processor and its functions.+The assembler instruction set includes arithmetic, logical, control, and input/output operations. Arithmetic instructions include addition, subtraction, multiplication, and division. Logical instructions include operations such as AND, OR, XOR, and NOT. Control instructions include jumps, loops, and conditions. Input/output instructions include operations on ports and registers. Understanding the instruction set is crucial for effective programming in assembler. This course will discuss the most commonly used instructions and their application in assembly code. Practical examples will show how to use instructions in AVR programming. The instruction set allows full control over the processor and its functions.
  
- +=====Basic instructions=====
-**Basic commands**+
  
 <table tab_avr_dt> <table tab_avr_dt>
 <caption>Data Transfer Instructions</caption> <caption>Data Transfer Instructions</caption>
-^  Data Transfer  ^^ +^  Data Transfer                        || 
-|ldi   load immediate| +|  ldi            |  load immediate      
-|mov   copy register| +|  mov            |  copy register       
-|movw   copy register pair|+|  movw           |  copy register pair  |
 </table> </table>
  
 <table tab_avr_li> <table tab_avr_li>
 <caption>Logical Instructions</caption> <caption>Logical Instructions</caption>
-^  Logical Instructions  ^^ +^  Logical Instructions                                || 
-|and   logical AND| +|  and                   |  logical AND                 
-|andi   logical AND with immediate| +|  andi                  |  logical AND with immediate  
-|or   logical OR| +|  or                    |  logical OR                  
-|ori   logical OR with immediate| +|  ori                   |  logical OR with immediate   
-|eor   exclusive OR| +|  eor                   |  exclusive OR                
-|com   one's complement| +|  com                   |  one's complement            
-|neg   two's complement|+|  neg                   |  two's complement            |
 </table> </table>
  
en/multiasm/piot/chapter_4_7.1768070103.txt.gz · Last modified: by pczekalski
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0