LoginSignup
0
0

More than 5 years have passed since last update.

俺言語 その21

Posted at

概要

俺言語をやってみた。
avrにアセンブラで実装してみた。
ROM化してみた。

環境

avr studio 4
attiny85 1mhz
tera term
usb-serial

写真

image

拡張

変数「^」の導入
?=^ でソースリストエンドポイントを表示。
^=32 でソースリストエンドポイントを変更。

変数「%」の機能拡張
%=0 で、eepromに、フラグを書き込む。自動起動となる。

リストの機能変更。
0で、ソースをリスト表示するが、同時にeepromに書き込む事にした。

プログラムの手順

以下を打ち込む。

10 a=0
20 a=a+1
30 ?=a
40 #=a<10*20

eepromに書き込む。

0

フラグを書き込む。

%=0

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0