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

Back to Subject List

Thread Closed: Off-topic

???
05/17/01 14:44
Read: times


 
#11656 - RE: 80c537/ 517 Port 6
Have you tried
P6 equ 0F8H
start : MOV p6,#55H
MOV p6,#0
JMP start
and do the port bits toggle ?

Yes I have tried this, and no the bits do not toggle. This is the problem I'm having.I can't get anything out of p6.

Its a bit low level, but what machine code is generated by the assembler when you try your code ?

hex file, LST file. Lst file has no errors.

What is the rest of your code ?

this is the test program I used:

p6 equ 0fah ;p6
p4 equ 0e8h ;p4

go:
mov a,#0aah
mov p6,a
mov a,#055h
mov p6,a
mov a,#0aah
mov p4,a
mov a,#055h
mov p4,a
sjmp go
end

p4 works but not p6.



List of 18 messages in thread
TopicAuthorDate
80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
RE: 80c537/ 517 Port 6            01/01/70 00:00      
LED display program            01/01/70 00:00      
   RE: LED display program            01/01/70 00:00      
      RE: LED display program            01/01/70 00:00      
LCD display            01/01/70 00:00      
   RE: LCD display            01/01/70 00:00      
RE: LED display program            01/01/70 00:00      
RE: LCD display            01/01/70 00:00      

Back to Subject List