LoginSignup
0
0

More than 5 years have passed since last update.

俺言語 その14

Last updated at Posted at 2018-03-04

概要

俺言語をやってみた。
avrにアセンブラで実装してみた。
ループから抜けてみた。

環境

avr studio 4
attiny85 1mhz
tera term
usb-serial

写真

image

バグ

下のサンプルは、コマンドプロンプトに、戻ってこない。

対策

PB0が、シリアル入力なので、行番号を探し始めたら、割り込みを受け付けて、キー入力あれば、フラグを立てる。
フラグが、立てば、コマンドプロンプトに戻るを実装した。

サンプルコード

無限ループ

10 r=6
20 o=2
30 @=1
40 o=6
50 @=1
60 #=20

以上。

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