Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/02/01 09:12
Read: times


 
#10470 - RE: testing 8255


Bryan Chan wrote:
control equ 0FE03H ;
leds equ 0FE0???H; Implied but not stated.

mov dptr,#control ;load control word
mov a,#80h ;all outputs
movx @dptr,a

mov dptr, #leds ;address of leds
mov a,#00h; turn all leds off

movx @dptr,a

;works fine:all the leds stay off though !

Add an infinite loop which toggles them on and off and watch the result on a scope.

Steve

List of 10 messages in thread
TopicAuthorDate
testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      
RE: testing 8255            01/01/70 00:00      

Back to Subject List