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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/01/02 05:30
Read: times


 
#25031 - MOV cmd for sending a byte to a port
I'm trying to send a byte to P2.
In binary, this would be 11100001, in hex it would be E1.

I've tried MOV P2, E1h, MOV P2 11100001b, and without the h and b, but I get assembly errors. Can someone kindly toss the correct syntax my way?

List of 8 messages in thread
TopicAuthorDate
MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      
RE: MOV cmd for sending a byte to a port            01/01/70 00:00      

Back to Subject List