[A83] LCDBusy


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

[A83] LCDBusy



Why do we use this routine:  (33 clocks)

                 LCD_BUSY::
                     PUSH    AF
                     inc     hl

                     dec     hl
                     POP     AF
                     RET



When we could use this one: (32, could change it to be 33?)

LCD_BUSY:

  halt
  halt
  halt
  halt
  halt
  halt
  halt 
  halt
  ret

Sure, it's four bytes larger, but I thought halt saves on battery life.  Is this one of TI's oversights, or am I completely wrong???

Bob Maresh