IAR

File > New > Project : donner un nom

File > New > Source Text : donner un nom
Tapper le programme en assembleur. (ex : medicis.txt )

Project > File  : associer le fichier Source au fichier Projet.

Project > Options
General > Target > Processor variant = 8xC51
General > Target > Memory model = Tiny
General > Ouput Directory > Executables = Debug\Exe
General > Ouput Directory > Objects Files = Debug\Obj
General > Ouput Directory > List Files = Debug\List
Icc8051 > Code generation > Enable Langage Extensions OK
Icc8051 > Code generation > Type Checking > Global strict type checking OK
Icc8051 > Code generation > Type Checking > Flag old-style fonction OK
Icc8051 > Code generation > Optimization = Speed, medium
Icc8051 > Code generation > Register bank = Independant
Icc8051 > Code generation > Function = No reentrant
Icc8051 > Code generation > Code Segment = CODE
Icc8051 > Debug > Generate debuging information OK
Icc8051 > Debug > Code added to statement = None (standard)
Icc8051 > List > List File OK
Icc8051 > List > Tab spacing = 8
Icc8051 > List > Assembly output file OK
Icc8051 > #undef > OK partout
Icc8051 > Include > Incude path : c:\IAR\EW\8051\inc\
A8051 > List > List File OK
A8051 > List > Local debug information OK
Xlink > Ouput > Ouput file > Override default OK <nom>.hex
Xlink > Ouput > Format > Other OK
Xlink > Ouput > Format > Output Format = intel-standard
Xlink > Ouput > Format > Format variant = None
Xlink > Error > Always generate ouptut = OK
Xlink > List > Generate linker listing OK
Xlink > List > Segment map OK
Xlink > List > Symbol = Module map
Xlink > Input > Inherent OK
Xlink > Library > override default library OK c:\IAR\EW\8051\Lib\Move_xsp.r03
Xlink > Library > override default link command OK c:\IAR\EW\8051\A8051\A8051.xcl
OK

Dans la fenêtre .prj, 2 clics sur Debug puis 2 clics sur Common Sources puis clic sur fichier .msa.

Project > Compile

Project > Make

Project > Link

Le fichier <nom>.hex est le fichier à charger dans le processeur.

 Retour