.


:




:

































 

 

 

 


Device ATmega8535; ATmega8535




, , .

<_>.asm . : (<_>.lst), (<_>.obj), - (<_>.hex) - (<_>.eep).

. . 6 , 2, 5 19 R17, R18 R19; R17 R18; R17 R18 R19. , ( ) , ( ). . , ADD : 0f12 ; 000004 .

 

E012 ldi R17, 2; 2 R17

E025 ldi R18, 5; 5 R18

E133 ldi R19, 19; 13 R19

000003 9f12 mul R17, R18; R17 R18, R1:R0

F12 add R17, R18; R17 R18, R17

B31 sub R19, R17; R17 R19, R19

000006 cfff met: rjmp met; ( )

 

. 6.

 

 

- AVR Studio. . EEPROM- . ().

, . . , . 6. (. 1). .device ATmega8535 ( ATmega8535). .

 

1

                             
                             
                             
                             
                             
                             
                             
                             

 

AVR Studio*, .

1. , New Project Project. Project Name ( .aps). Location (); Project type AVR Assembler ( ). Create initial File. , , Initial File ( .asm ). Create Folder. . Next.

2. Select debug platform and device Debug Platform AVR Simulator (-), Device , (ATmega8535). Finish. ( Workspace, Project) .

Create initial file, New File File.

3. . , Save File. , Add existing File Project Assembler.

4. , Build and run Project( Ctrl + F7 ). , List file AVR Assembler, AVR Assembler Setup Project ( ). Output Build . ( Workspace, Project). Save Project Project .

: ATmega8535 ATmega8535 Data Sheet Atmel.

: 1. , .

2. AVR Studio .

3. Print File, Print Preview File, Print Setup File.

ר

: , ; ; AVR -; (); .

1. .

2. .

3. AVR -.

4. .

5. AVR -.

6. .

 





:


: 2016-11-23; !; : 1581 |


:

:

, ,
==> ...

1273 - | 1242 -


© 2015-2024 lektsii.org - -

: 0.013 .