Re: Delay on 83?


[Prev][Next][Index][Thread]

Re: Delay on 83?



At 09:52 AM 7/7/97 GMT, you wrote:
>Loop1: LD B,200
>HALT
>DJNZ Loop1

Actually, the loop will never end because b will never reach zero.  It
should read like this:

  LD B,200
Loop1:
  HALT
  DJNZ Loop1

Which works like it should.  This method is the easiest way to get the
exact timing you want to wait.

Signed,
Thomas J. Hruska

|----------------------------------------------------|
|             Shining Light Productions              |
|      "Meeting the needs of fellow programmers"     |
|                                                    |
|   C/C++ programs                                   |
|   QBasic programs                                  |
|   JavaScript                                       |
|   TI-82 ASM                                        |
|   TI-Basic                                         |
|   HTML                                             |
|                                                    |
| Search for our web site at                         |
| www.geocities.com/SiliconValley/Heights/8504/      |
|                                                    |
| We use a dynamic web server for most of our        |
| documents!!!                                       |
| Soon to go to a full JavaScript 1.1 web site!      |
|----------------------------------------------------|