Re: A86: Two questions
[Prev][Next][Index][Thread]
Re: A86: Two questions
Grams Family wrote:
>
> I have two questions:
> 1. Someone was complaining that everyone was using GET_KEY instead of
> getkey, and programs written this way used more battery power. Would
> putting a halt instruction before the call GET_KEY do the same thing?
the getkey halts until a key is pressed,but you have to halt and send it
back up to a loop if you are using GETKEY, so i think if you put halt in
before GET_KEY it still uses up more power, but the major reason for
using it is not having it stop everything til a key is pressed and you
cant break out of it if you press 2nd-on like with the other one
References: