プログラム編集と実行プログラム作成(CBar)
CBar(開発環境)を以下のように起動します。
タイトルが「User for ARM」であることを確認します。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst06.png)
最初にメニューの「ファイル」→「プロジェクト新規作成」を選択します。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst07.png)
任意の保存先フォルダを指定して保存します。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst08.png)
左フレーム中の「Source」をクリックします。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst09.png)
メニューの「ファイル」→「新規作成」を選択します。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst10.png)
任意のソースファイル名を入力し、「OK」で確定します。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst11.png)
メモ帳でプログラムを入力し、上書き保存してメモ帳を終了します。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst12.png)
メニューの「ファイル」→「プロジェクト保存」を選択します。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst13.png)
メニューの「実行」→「コンパイル」を選択します。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst14.png)
Cコンパイラの実行状況が右フレーム上に表示され、
「*** Compile completed ***」が表示されると実行ファイルが作成されます。
![](https://pctec.org/wp-content/uploads/2023/04/mesinst15.png)