Assembler Language for MCS-5 Standard Microcontroller Soft!are Installation To install the software, first unzip the file archive on the C drive in folder C:\ asm_8051. iles !ist of "#$% &ditor for 'indows( pro)rammin) environment *for 'indows+ #$%_&d.e,e - Code &ditor #sm&d.ini - Confi)uration ile &ditor .efault.sh/ - 0e1words file default ,8051.sh/ - 0e1words file for the #T82C51 %icrocontroller iles !ist of translators from #ssem3l1 lan)ua)e: ,8051.e,e - cross-assem3ler for the i8051 famil1 processor lin/.e,e - pro)ram lin/er %1!in/.e,e - pro)ram for 3oth assem3lin) and compilin) followed 31 the outputs on a displa1 %1!in/.zip - the source code in .elphi for %1!in/.e,e #lso in the folder C: \ asm_8051 we will create the directories: #$%, 4&5, 678. #$% director1 is intended to store the pro)rams in #ssem3l1 lan)ua)e *9. asm+. 'hen compilin) files in 4&5 and 678 folders the files will 3e created with the appropriate e,tension *9. he, and 9. o3:+, which are used to download the pro)rams in in-circuit emulator. "o! to operate in this program To run the pro)ram one must run #$%_&d.e,e. i)ure 1. The view of the main pro)ram window. The International Distance Contest on Application Programming Microprocessor-based Systems in Assembler Language for MCS-5 Standard Microcontroller There are the followin) areas of the main pro)ram window *i)ure 1+: %ain menu *1+ ;uic/ access 3uttons to the functions of the main menu *<+ #rea for writin) pro)rams *=+. !et>s consider the most important functions of "#$% &ditor( pro)ram. %enu ?tem 0e1 Com3ination Menu #ile @ew CtrlA@ 6pen CtrlA6 $ave CtrlA$ $ave as B Crint B CtrlA10 &,it Menu $dit Dndo CtrlAE Fedo CtrlAG Cut CtrlA5 Cop1 CtrlAC Caste CtrlAH $elect #ll CtrlA# %ove Fi)ht CtrlAF %ove !eft CtrlA! ind CtrlA Feplace CtrlAF %&'( Pro)ect Compile Fesource 2 'hen developin) the pro)ram in the environment of "#$% &ditor( the followin) procedure is recommended: 1. $tart the "#$% &ditor( *#$%_&d.e,e+. <. ?n area for writin) pro)ram, first enter the te,t of the pro)ram, usin) the s1nta, and rules for writin) pro)rams in assem3l1 lan)ua)e. =. $ave the pro)ram *31 choosin) ileI $ave or 31 clic/in) on the tool3ar+. Save the program on the folder C:\asm_8051\asm disk. The file name should be ritten in !atin "hara"ters and "ontain no more than 8 "hara"ters. J. Compile a pro)ram 31 selectin) Cro:ectI Compile Fesource. This item allows 1ou to start the process of compilin) the pro)ram and simultaneous error chec/in) and then the process of lin/in) the compiled pro)ram. 'hen an error occurs, error messa)es appears on the screen *see i)ure <+, and lin/in) is not performed. To close the error messa)e, press an1 /e1. The International Distance Contest on Application Programming Microprocessor-based Systems in Assembler Language for MCS-5 Standard Microcontroller i)ure <. The view of error messa)es. ?f compilation is successful, the messa)e of a successful compilation will appear on the screen *i)ure =+. ?n the 4&5 and 678 folders the files have 3een created with the appropriate e,tension *9. he, and 9. o3:+. To close the messa)e 3o, after a successful compilation, press an1 /e1. i)ure =. The view of messa)e 3o, after a successful compilation.